Your Ad Here

Posted By

indianocean on 11/14/06


Tagged

java webxml servlet


Versions (?)

Very Simple web.xml


 / Published in: XML
 

encoding funzt

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE web-app
  3. PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  4. "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
  5. <web-app>
  6. <servlet>
  7. <servlet-name>MyServlet</servlet-name>
  8. <servlet-class>MyServlet</servlet-class>
  9. </servlet>
  10.  
  11. <servlet-mapping>
  12. <servlet-name>MyServlet</servlet-name>
  13. <url-pattern>/MyServlet</url-pattern>
  14. </servlet-mapping>
  15. </web-app>

Report this snippet  

You need to login to post a comment.