You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
4.6 KiB
131 lines
4.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
|
|
<display-name>eap</display-name>
|
|
<context-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>classpath:app.xml</param-value>
|
|
</context-param>
|
|
<error-page>
|
|
<error-code>403</error-code>
|
|
<location>/wdk/theme/je/module/errorpage/403.jsp</location>
|
|
</error-page>
|
|
<error-page>
|
|
<error-code>404</error-code>
|
|
<location>/wdk/theme/je/module/errorpage/404.jsp</location>
|
|
</error-page>
|
|
<error-page>
|
|
<error-code>500</error-code>
|
|
<location>/wdk/theme/je/module/errorpage/500.jsp</location>
|
|
</error-page>
|
|
<error-page>
|
|
<exception-type>java.lang.Exception</exception-type>
|
|
<location>/wdk/theme/je/module/errorpage/500.jsp</location>
|
|
</error-page>
|
|
<error-page>
|
|
<exception-type>java.lang.Throwable</exception-type>
|
|
<location>/wdk/theme/je/module/errorpage/500.jsp</location>
|
|
</error-page>
|
|
<listener>
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
</listener>
|
|
|
|
<filter>
|
|
<filter-name>WDKBaseFilter</filter-name>
|
|
<filter-class> org.wdk.core.channel.web.filter.WDKBaseFilter</filter-class>
|
|
<init-param>
|
|
<param-name>excludeUrl</param-name>
|
|
<param-value>*.js,*.css,*.png</param-value>
|
|
</init-param>
|
|
</filter>
|
|
<filter-mapping>
|
|
<filter-name>WDKBaseFilter</filter-name>
|
|
<url-pattern>*.jsp</url-pattern>
|
|
</filter-mapping>
|
|
<filter-mapping>
|
|
<filter-name>WDKBaseFilter</filter-name>
|
|
<url-pattern>/menu</url-pattern>
|
|
</filter-mapping>
|
|
<filter-mapping>
|
|
<filter-name>WDKBaseFilter</filter-name>
|
|
<url-pattern>/wdk</url-pattern>
|
|
</filter-mapping>
|
|
<servlet>
|
|
<servlet-name>runtimechannel</servlet-name>
|
|
<servlet-class>org.wdk.core.channel.ServletChannel</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>runtimechannel</servlet-name>
|
|
<url-pattern>/wdk</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<!-- 菜单通道 -->
|
|
<servlet>
|
|
<description></description>
|
|
<display-name>MenuServlet</display-name>
|
|
<servlet-name>MenuServlet</servlet-name>
|
|
<servlet-class>com.noblelift.imp.platform.module.portal.source.MenuServlet</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>MenuServlet</servlet-name>
|
|
<url-pattern>/menu</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet>
|
|
<servlet-name>oauth_server</servlet-name>
|
|
<servlet-class>org.wdk.module.oauth2.source.action.OAuthServerAction</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>oauth_server</servlet-name>
|
|
<url-pattern>/oauth/*</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet>
|
|
<servlet-name>token_server</servlet-name>
|
|
<servlet-class>org.wdk.module.oauth2.source.action.OAuthTokenAction</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>token_server</servlet-name>
|
|
<url-pattern>/token/*</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet>
|
|
<servlet-name>access_server</servlet-name>
|
|
<servlet-class>org.wdk.module.access.source.AccessServlet</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>access_server</servlet-name>
|
|
<url-pattern>/access/*</url-pattern>
|
|
</servlet-mapping>
|
|
<welcome-file-list>
|
|
<welcome-file>index.htm</welcome-file>
|
|
<welcome-file>index.jsp</welcome-file>
|
|
<welcome-file>default.html</welcome-file>
|
|
<welcome-file>default.htm</welcome-file>
|
|
<welcome-file>default.jsp</welcome-file>
|
|
</welcome-file-list>
|
|
<servlet>
|
|
<display-name>Apache-Axis Servlet</display-name>
|
|
<servlet-name>AxisServlet</servlet-name>
|
|
<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>AxisServlet</servlet-name>
|
|
<url-pattern>/servlet/AxisServlet</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet-mapping>
|
|
<servlet-name>AxisServlet</servlet-name>
|
|
<url-pattern>*.jws</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet-mapping>
|
|
<servlet-name>AxisServlet</servlet-name>
|
|
<url-pattern>/services/*</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet>
|
|
<display-name>Axis Admin Servlet</display-name>
|
|
<servlet-name>AdminServlet</servlet-name>
|
|
<servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>
|
|
<load-on-startup>100</load-on-startup>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>AdminServlet</servlet-name>
|
|
<url-pattern>/servlet/AdminServlet</url-pattern>
|
|
</servlet-mapping>
|
|
</web-app>
|