2012-01-06 23:53:55 +00:00
|
|
|
<?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/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
|
|
|
|
<display-name>cah</display-name>
|
|
|
|
<welcome-file-list>
|
|
|
|
<welcome-file>index.html</welcome-file>
|
|
|
|
<welcome-file>index.htm</welcome-file>
|
|
|
|
<welcome-file>index.jsp</welcome-file>
|
|
|
|
</welcome-file-list>
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>TestServlet</servlet-name>
|
|
|
|
<servlet-class>net.socialgamer.cah.TestServlet</servlet-class>
|
|
|
|
</servlet>
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>LongPollServlet</servlet-name>
|
|
|
|
<servlet-class>net.socialgamer.cah.LongPollServlet</servlet-class>
|
|
|
|
</servlet>
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>AjaxServlet</servlet-name>
|
|
|
|
<servlet-class>net.socialgamer.cah.AjaxServlet</servlet-class>
|
|
|
|
</servlet>
|
|
|
|
<servlet>
|
|
|
|
<servlet-name>Schema</servlet-name>
|
|
|
|
<servlet-class>net.socialgamer.cah.Schema</servlet-class>
|
|
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>TestServlet</servlet-name>
|
|
|
|
<url-pattern>/TestServlet</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>LongPollServlet</servlet-name>
|
|
|
|
<url-pattern>/LongPollServlet</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>AjaxServlet</servlet-name>
|
|
|
|
<url-pattern>/AjaxServlet</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>Schema</servlet-name>
|
|
|
|
<url-pattern>/Schema</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
<listener>
|
|
|
|
<listener-class>net.socialgamer.cah.StartupUtils</listener-class>
|
|
|
|
</listener>
|
2012-03-13 05:19:57 +00:00
|
|
|
<filter>
|
|
|
|
<filter-name>SetCacheControl</filter-name>
|
|
|
|
<filter-class>net.socialgamer.cah.CacheControlFilter</filter-class>
|
|
|
|
</filter>
|
|
|
|
<filter-mapping>
|
|
|
|
<filter-name>SetCacheControl</filter-name>
|
|
|
|
<url-pattern>/js/*</url-pattern>
|
|
|
|
<url-pattern>*.js</url-pattern>
|
|
|
|
<url-pattern>*.css</url-pattern>
|
|
|
|
<url-pattern>*.html</url-pattern>
|
|
|
|
<url-pattern>*.jsp</url-pattern>
|
|
|
|
</filter-mapping>
|
|
|
|
</web-app>
|