Posted By

thebugslayer on 09/28/07


Tagged

webapp


Versions (?)

Minimal web.xml web-app descriptor version 2.4 and 2.3


 / Published in: Java
 

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://java.sun.com/xml/ns/javaee"
  4. xmlns:web="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
  5. xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
  6. version="2.4">
  7. <description></description>
  8. <display-name>Archetype Created Web Application</display-name>
  9.  
  10. <!-- <filter>
  11. <filter-name>sitemesh</filter-name>
  12. <filter-class>
  13. com.opensymphony.module.sitemesh.filter.PageFilter
  14. </filter-class>
  15. </filter>
  16.  
  17. <filter-mapping>
  18. <filter-name>sitemesh</filter-name>
  19. <url-pattern>/*</url-pattern>
  20. </filter-mapping> -->
  21. </web-app>
  22.  
  23. A 2.3 version:
  24. <?xml version="1.0" encoding="UTF-8"?>
  25. <!DOCTYPE web-app
  26.   PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
  27.   "http://java.sun.com/dtd/web-app_2_3.dtd">
  28. <web-app>
  29. </web-app>

Report this snippet  

You need to login to post a comment.