litesoft
Diff Revisions
363
vs
364
for /trunk/GWT_Sandbox/CS_IDEA/war/WEB-INF/web.xml
|
@@ -1,7 +1,5 @@ |
1 |
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 |
|
- |
|
4 |
|
- |
<web-app> |
|
2 |
+ |
<web-app version="2.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xmlns="http://java.sun.com/xml/ns/javaee"> |
5 |
3 |
|
<servlet> |
6 |
4 |
|
<servlet-name>org.litesoft.sandbox.csapp.server.CSappServiceImpl</servlet-name> |
7 |
5 |
|
<servlet-class>org.litesoft.sandbox.csapp.server.CSappServiceImpl</servlet-class> |
|
@@ -10,4 +8,13 @@ |
10 |
8 |
|
<servlet-name>org.litesoft.sandbox.csapp.server.CSappServiceImpl</servlet-name> |
11 |
9 |
|
<url-pattern>/v2/CSappService</url-pattern> |
12 |
10 |
|
</servlet-mapping> |
|
11 |
+ |
|
|
12 |
+ |
<filter> |
|
13 |
+ |
<filter-name>VersionedStaticContentFilter</filter-name> |
|
14 |
+ |
<filter-class>org.litesoft.servlet.versionedstaticcontentfilter.VersionedStaticContentFilter</filter-class> |
|
15 |
+ |
</filter> |
|
16 |
+ |
<filter-mapping> |
|
17 |
+ |
<filter-name>VersionedStaticContentFilter</filter-name> |
|
18 |
+ |
<url-pattern>/*</url-pattern> |
|
19 |
+ |
</filter-mapping> |
13 |
20 |
|
</web-app> |