title: web.xml not getting updated in eclipse juno
body: <p>Am using eclipse JUNO to run a simple "Helloworld" servlet and am using JBoss 7.1 as server..</p>
  
  <p>Here is the code am running with</p>
  
  <pre><code>import java.io.IOException;
  import javax.servlet.ServletException;`
  import javax.servlet.annotation.WebServlet;
  import javax.servlet.http.HttpServlet;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  
  
  public class Hello extends HttpServlet {
      private static final long serialVersionUID = 1L;
  
      /**
       * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
       */
      protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
          // TODO Auto-generated method stub
          PrintWriter out = response.getWriter();
          out.println("Hello World");
      }
  }
  </code></pre>
  
  <p>and my web.xml is(even after running the servlet)</p>
  
  <pre><code>&lt;display-name&gt;bjp&lt;/display-name&gt;
   &lt;welcome-file-list&gt;
  &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
  &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
  &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
  &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
  &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
  &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>means looking at this, it is clear that web.xml is not getting updated with the servlet information, like servlet mapping and servlet class..</p>
  
  <p>Why web.xml is not getting updated with servlet class?? It works fine with Tomact..Please Help me</p>