Posted By

cetnar on 07/23/06


Tagged

j2ee deployment descriptor


Versions (?)

Web.xml sample


 / Published in: XML
 

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app version="2.5"
  3. xmlns="http://java.sun.com/xml/ns/javaee"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  6. http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  7. <display-name>Jsp_Ex01</display-name>
  8. <servlet>
  9. <display-name>welcome</display-name>
  10. <servlet-name>welcome</servlet-name>
  11. <jsp-file>/welcome.jsp</jsp-file>
  12. </servlet>
  13. <welcome-file-list>
  14. <welcome-file>welcome.jsp</welcome-file>
  15. </welcome-file-list>
  16. </web-app>

Report this snippet  

You need to login to post a comment.