Created
December 20, 2010 16:50
-
-
Save jfarcand/748619 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:j2ee="http://java.sun.com/xml/ns/javaee" | |
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_3.0.xsd"> | |
<description>Atmosphere Chat</description> | |
<display-name>Atmosphere Chat</display-name> | |
<servlet> | |
<description>MeteorServlet</description> | |
<servlet-name>MeteorServlet</servlet-name> | |
<servlet-class>org.atmosphere.cpr.MeteorServlet</servlet-class> | |
<init-param> | |
<param-name>org.atmosphere.servlet</param-name> | |
<param-value>org.atmosphere.samples.chat.MeteorChat</param-value> | |
</init-param> | |
<load-on-startup>0</load-on-startup> | |
<!-- | |
<async-supported>true</async-supported> | |
--> | |
<!-- Or use Tomcat Native Comet implementation --> | |
<init-param> | |
<param-name>org.atmosphere.useNative</param-name> | |
<param-value>true</param-value> | |
</init-param> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>MeteorServlet</servlet-name> | |
<url-pattern>/Meteor</url-pattern> | |
</servlet-mapping> | |
<session-config> | |
<session-timeout>25</session-timeout> | |
</session-config> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment