[113] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> |
---|
| 3 | <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" |
---|
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
| 5 | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> |
---|
| 6 | |
---|
| 7 | <display-name>NDACC</display-name> |
---|
| 8 | |
---|
| 9 | <context-param> |
---|
| 10 | <param-name>contextConfigLocation</param-name> |
---|
| 11 | <param-value> |
---|
| 12 | classpath:dao-context.xml, |
---|
| 13 | classpath:service-context.xml, |
---|
| 14 | classpath:hibernate.cfg.xml |
---|
| 15 | </param-value> |
---|
| 16 | </context-param> |
---|
| 17 | |
---|
| 18 | <listener> |
---|
| 19 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
---|
| 20 | </listener> |
---|
| 21 | |
---|
| 22 | <!--SERVLETS --> |
---|
| 23 | <servlet> |
---|
| 24 | <servlet-name>instrument</servlet-name> |
---|
| 25 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
---|
| 26 | <init-param> |
---|
| 27 | <param-name>contextConfigLocation</param-name> |
---|
| 28 | <param-value> |
---|
| 29 | /WEB-INF/servlet-context.xml |
---|
| 30 | </param-value> |
---|
| 31 | </init-param> |
---|
| 32 | </servlet> |
---|
| 33 | |
---|
| 34 | <servlet-mapping> |
---|
| 35 | <servlet-name>instrument</servlet-name> |
---|
| 36 | <url-pattern>/instrument</url-pattern> |
---|
| 37 | </servlet-mapping> |
---|
| 38 | |
---|
| 39 | <servlet> |
---|
| 40 | <servlet-name>station</servlet-name> |
---|
| 41 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
---|
| 42 | <init-param> |
---|
| 43 | <param-name>contextConfigLocation</param-name> |
---|
| 44 | <param-value> |
---|
| 45 | /WEB-INF/servlet-context.xml |
---|
| 46 | </param-value> |
---|
| 47 | </init-param> |
---|
| 48 | </servlet> |
---|
| 49 | |
---|
| 50 | <servlet-mapping> |
---|
| 51 | <servlet-name>station</servlet-name> |
---|
| 52 | <url-pattern>/station</url-pattern> |
---|
| 53 | </servlet-mapping> |
---|
| 54 | |
---|
| 55 | </web-app> |
---|