title: Invalid deployment descriptor error in NetBeans
body: <p>I'm trying to learn web development using Java.
  I have to mention, I didn't open a new project, I'm working on an existing one and trying to add pages to it. </p>
  
  <p>I am using netbeans IDE 7.2.1 to create a servlet. I also use Struts2. I right-click on a the package in which I want to create the servlet in, New,  Servlet. Then a popup window appears to prompt me for the Class Name, location, etc. At the bottom of the popup, it says in red: </p>
  
  <p><strong>Invalid deployment descriptor web.xml</strong></p>
  
  <p>And doesn't allow me to continue. 
  When I opened my web.xml file I could not see anything which might seems to be related to my issue. 
  Can someone please help?</p>
  
  <p>Edit:</p>
  
  <ol>
  <li>I am really a newbie :) Sorry about the silly questions.</li>
  <li>When I run this page, I get the error page of our website, meaning ( I assume ) it look the file somewhere and is not being able to find it. </li>
  </ol>
  
  <p>Thank you again... </p>