SHARE
TWEET

web.xml

a guest Nov 11th, 2013 39 Never
  1. <?xml version=”1.0” encoding=”ISO-8851-1” ?>
  2. <web-app xmlns=”http://java.sun.com/xml/ns/j2ee”
  3. xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
  4. xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee
  5. http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd”
  6. version=”2.4”>
  7. <servlet>
  8. <servlet-name>HWServlet</servlet-name>
  9. <servlet-class>test.HelloWorld</servlet-class>
  10. </servlet>
  11. <servlet-mapping>
  12. <servlet-name>HWServlet</servlet-name>
  13. <url-pattern>/hello</url-pattern>
  14. </servlet-mapping>
  15. </web-app>
RAW Paste Data
Top