Posted By

thebugslayer on 09/24/07


Tagged

servlet webapp


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

liqweed


Minimal web.xml web-app descriptor version 2.5


 / Published in: Java
 

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns="http://java.sun.com/xml/ns/javaee"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
  5. version="2.5">
  6. <display-name>Archetype Created Web Application</display-name>
  7. <!--
  8. <servlet>
  9. <servlet-name>HelloWorldExample</servlet-name>
  10. <servlet-class>cnx.mywebapp.HelloWorldExample</servlet-class>
  11. </servlet>
  12. <servlet-mapping>
  13. <servlet-name>HelloWorldExample</servlet-name>
  14. <url-pattern>/hello</url-pattern>
  15. </servlet-mapping>
  16. -->
  17. </web-app>

Report this snippet  

You need to login to post a comment.