Web.xml

Web.xml describes deploy codes for web applications, details everything like descriptions configuration of Servlet, Session handling, limits and parameters for startup and all other files.

Directory of extension name or name for web.xml file can not be changed and only web.xml file is identified to at run-time by container.

It is stored in Web-INF folder.

<web-app>  
 ....  
  
  <welcome-file-list>  
   <welcome-file>home.html</welcome-file>  
   <welcome-file>default.html</welcome-file>  
  </welcome-file-list>  
</web-app>