| 1 | {{{ |
---|
| 2 | |
---|
| 3 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 4 | <web-app |
---|
| 5 | xmlns="http://java.sun.com/xml/ns/javaee" |
---|
| 6 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
| 7 | xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
---|
| 8 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee |
---|
| 9 | http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" |
---|
| 10 | id="WebApp_ID" version="3.0"> |
---|
| 11 | <display-name>TestApp</display-name> |
---|
| 12 | <servlet> |
---|
| 13 | <servlet-name>test</servlet-name> |
---|
| 14 | <servlet-class>ServletTest</servlet-class> |
---|
| 15 | </servlet> |
---|
| 16 | |
---|
| 17 | <servlet-mapping> |
---|
| 18 | <servlet-name>test</servlet-name> |
---|
| 19 | <url-pattern>/test</url-pattern> |
---|
| 20 | </servlet-mapping> |
---|
| 21 | |
---|
| 22 | <listener> |
---|
| 23 | <listener-class> |
---|
| 24 | org.springframework.web.context.ContextLoaderListener |
---|
| 25 | </listener-class> |
---|
| 26 | </listener> |
---|
| 27 | |
---|
| 28 | <servlet> |
---|
| 29 | <servlet-name>springapp</servlet-name> |
---|
| 30 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
---|
| 31 | </servlet> |
---|
| 32 | |
---|
| 33 | <servlet-mapping> |
---|
| 34 | <servlet-name>springapp</servlet-name> |
---|
| 35 | <url-pattern>*.do</url-pattern> |
---|
| 36 | </servlet-mapping> |
---|
| 37 | <welcome-file-list> |
---|
| 38 | <welcome-file>index.html</welcome-file> |
---|
| 39 | <welcome-file>index.htm</welcome-file> |
---|
| 40 | <welcome-file>index.jsp</welcome-file> |
---|
| 41 | <welcome-file>default.html</welcome-file> |
---|
| 42 | <welcome-file>default.htm</welcome-file> |
---|
| 43 | <welcome-file>default.jsp</welcome-file> |
---|
| 44 | </welcome-file-list> |
---|
| 45 | </web-app> |
---|
| 46 | |
---|
| 47 | }}} |