diff options
author | victor.gao <victor.gao@huawei.com> | 2018-03-26 20:33:13 +0800 |
---|---|---|
committer | victor.gao <victor.gao@huawei.com> | 2018-03-26 20:37:40 +0800 |
commit | f9f45991d9a43fb18accc32ac25619862bf1db95 (patch) | |
tree | 6a3f6e55e344ee52fc2f23c7107e86e1bad968f5 /service/src/main/webapp/WEB-INF/web.xml | |
parent | 318cda0d7128149503a705e870e69e7f90e2ad29 (diff) |
Add multivimproxy code
Change-Id: I15e0a6c639727bfa1115c77c11c58dc8b252c3bf
Issue-ID: VFC-644
Signed-off-by: victor.gao <victor.gao@huawei.com>
Diffstat (limited to 'service/src/main/webapp/WEB-INF/web.xml')
-rw-r--r-- | service/src/main/webapp/WEB-INF/web.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/service/src/main/webapp/WEB-INF/web.xml b/service/src/main/webapp/WEB-INF/web.xml index 55b282e..f52c1ac 100644 --- a/service/src/main/webapp/WEB-INF/web.xml +++ b/service/src/main/webapp/WEB-INF/web.xml @@ -20,5 +20,30 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> + <listener> + <listener-class> + org.springframework.web.context.ContextLoaderListener + </listener-class> + </listener> + <servlet> + <servlet-name>CXFServlet</servlet-name> + <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> + <load-on-startup>1</load-on-startup> + </servlet> + <servlet-mapping> + <servlet-name>CXFServlet</servlet-name> + <url-pattern>/*</url-pattern> + </servlet-mapping> + + <context-param> + <param-name>contextConfigLocation</param-name> + <param-value>WEB-INF/classes/spring/multivimproxy/*.xml + </param-value> + </context-param> + <session-config> + <session-timeout>10000000</session-timeout> + </session-config> + + <display-name>multivimproxy-service</display-name> </web-app>
\ No newline at end of file |