title: Placing 4 servlets in one project
body: <p>i dont know how to place many servlets in one project. Am I supposed to create seperate web.xml file for each one? I have 4 html files named index.html,index1.html,index2.html and index3.html
  Thanks beforehand</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     
  
   xmlns="http://java.sun.com/xml/ns/javaee"    
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee         
     http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID"    
    version="3.0"&gt;
   &lt;display-name&gt;WM2_as03&lt;/display-name&gt;
  
  
   &lt;servlet&gt;
  &lt;servlet-name&gt;form&lt;/servlet-name&gt;
  &lt;servlet-class&gt;com.ccc.Task3&lt;/servlet-class&gt;
  
   &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;form&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/register&lt;/url-pattern&gt;
   &lt;/servlet-mapping&gt;
  
   &lt;servlet&gt;
   &lt;servlet-name&gt;newtask&lt;/servlet-name&gt;
   &lt;servlet-class&gt;com.ccc.Task3&lt;/servlet-class&gt;
  
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;newtask&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/taskkk&lt;/url-pattern&gt;
  &lt;/servlet-mapping&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.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>