e.samples.atmosphere-spade-chat.0.6.1.source-code.atmosphere-web.xml.template Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Uncomment for Servlet 3.0 <web-app 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" version="3.0" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd"> --> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <description>Atmosphere</description> <display-name>Atmosphere</display-name> <servlet> <description>AtmosphereServlet</description> <servlet-name>AtmosphereServlet</servlet-name> <servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class> <!-- Uncomment if you want to use Servlet 3.0 Async Support <async-supported>true</async-supported> --> <load-on-startup>0</load-on-startup> </servlet> <!-- Define your servlet mapping that wil be used to reach AtmosphereServlet below--> <servlet-mapping> <servlet-name>AtmosphereServlet</servlet-name> <url-pattern>ADD-HERE</url-pattern> </servlet-mapping> <session-config> <session-timeout>25</session-timeout> </session-config> </web-app>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy