61 lines
1.7 KiB
XML
61 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
|
|
|
<display-name>legacyworlds-web-admin</display-name>
|
|
|
|
<filter>
|
|
<filter-name>charsetFilter</filter-name>
|
|
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
|
<init-param>
|
|
<param-name>encoding</param-name>
|
|
<param-value>UTF-8</param-value>
|
|
</init-param>
|
|
<init-param>
|
|
<param-name>forceEncoding</param-name>
|
|
<param-value>1</param-value>
|
|
</init-param>
|
|
</filter>
|
|
|
|
<filter-mapping>
|
|
<filter-name>charsetFilter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<servlet>
|
|
<servlet-name>admin</servlet-name>
|
|
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
|
|
<servlet>
|
|
<servlet-name>pass-through</servlet-name>
|
|
<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>pass-through</servlet-name>
|
|
<url-pattern>*.js</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>pass-through</servlet-name>
|
|
<url-pattern>*.css</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>pass-through</servlet-name>
|
|
<url-pattern>*.jpg</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>pass-through</servlet-name>
|
|
<url-pattern>*.png</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>admin</servlet-name>
|
|
<url-pattern>/</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
</web-app>
|