| 55 | ==doremi |
---|
| 56 | {{{ |
---|
| 57 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 58 | <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> |
---|
| 59 | <context-param> |
---|
| 60 | <param-name>log4jConfigLocation</param-name> |
---|
| 61 | <param-value>/WEB-INF/classes/log4j.properties</param-value> |
---|
| 62 | </context-param> |
---|
| 63 | <filter> |
---|
| 64 | <filter-name>characterEncodingFilter</filter-name> |
---|
| 65 | <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> |
---|
| 66 | <init-param> |
---|
| 67 | <param-name>encoding</param-name> |
---|
| 68 | <param-value>UTF-8</param-value> |
---|
| 69 | </init-param> |
---|
| 70 | <init-param> |
---|
| 71 | <param-name>forceEncoding</param-name> |
---|
| 72 | <param-value>true</param-value> |
---|
| 73 | </init-param> |
---|
| 74 | </filter> |
---|
| 75 | <filter-mapping> |
---|
| 76 | <filter-name>characterEncodingFilter</filter-name> |
---|
| 77 | <url-pattern>/*</url-pattern> |
---|
| 78 | </filter-mapping> |
---|
| 79 | <context-param> |
---|
| 80 | <param-name>contextConfigLocation</param-name> |
---|
| 81 | <param-value>/WEB-INF/spring/*-context.xml</param-value> |
---|
| 82 | </context-param> |
---|
| 83 | <listener> |
---|
| 84 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
---|
| 85 | </listener> |
---|
| 86 | <servlet> |
---|
| 87 | <servlet-name>appServlet</servlet-name> |
---|
| 88 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
---|
| 89 | <init-param> |
---|
| 90 | <param-name>contextConfigLocation</param-name> |
---|
| 91 | <param-value>/WEB-INF/spring/appServlet/servlet-context.xml</param-value> |
---|
| 92 | </init-param> |
---|
| 93 | <load-on-startup>3</load-on-startup> |
---|
| 94 | </servlet> |
---|
| 95 | <servlet-mapping> |
---|
| 96 | <servlet-name>appServlet</servlet-name> |
---|
| 97 | <url-pattern>/</url-pattern> |
---|
| 98 | </servlet-mapping> |
---|
| 99 | <servlet> |
---|
| 100 | <servlet-name>AxisServlet</servlet-name> |
---|
| 101 | <servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class> |
---|
| 102 | <load-on-startup>1</load-on-startup> |
---|
| 103 | </servlet> |
---|
| 104 | <servlet> |
---|
| 105 | <servlet-name>AxisAdminServlet</servlet-name> |
---|
| 106 | <servlet-class> |
---|
| 107 | org.apache.axis2.webapp.AxisAdminServlet</servlet-class> |
---|
| 108 | </servlet> |
---|
| 109 | <servlet-mapping> |
---|
| 110 | <servlet-name>AxisServlet</servlet-name> |
---|
| 111 | <url-pattern>/servlet/AxisServlet</url-pattern> |
---|
| 112 | </servlet-mapping> |
---|
| 113 | <servlet-mapping> |
---|
| 114 | <servlet-name>AxisServlet</servlet-name> |
---|
| 115 | <url-pattern>*.jws</url-pattern> |
---|
| 116 | </servlet-mapping> |
---|
| 117 | <servlet-mapping> |
---|
| 118 | <servlet-name>AxisServlet</servlet-name> |
---|
| 119 | <url-pattern>/services/*</url-pattern> |
---|
| 120 | </servlet-mapping> |
---|
| 121 | <servlet-mapping> |
---|
| 122 | <servlet-name>AxisAdminServlet</servlet-name> |
---|
| 123 | <url-pattern>/axis2-admin/*</url-pattern> |
---|
| 124 | </servlet-mapping> |
---|
| 125 | <mime-mapping> |
---|
| 126 | <extension>inc</extension> |
---|
| 127 | <mime-type>text/plain</mime-type> |
---|
| 128 | </mime-mapping> |
---|
| 129 | <listener> |
---|
| 130 | <listener-class>org.springframework.security.web.session.HttpSessionEventPublisher</listener-class> |
---|
| 131 | </listener> |
---|
| 132 | </web-app> |
---|
| 133 | }}} |