aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF/web.xml
blob: 1b70543bb4ed1ff6d266fae365553c988bb4beeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
         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_3_0.xsd">
    <servlet>
        <servlet-name>Main</servlet-name>
        <servlet-class>com.juick.http.www.Main</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Main</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>default</servlet-name>
        <url-pattern>/scripts.js</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>default</servlet-name>
        <url-pattern>/style.css</url-pattern>
    </servlet-mapping>
    <mime-mapping>
        <extension>js</extension>
        <mime-type>application/javascript;charset=UTF-8</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>css</extension>
        <mime-type>text/css;charset=UTF-8</mime-type>
    </mime-mapping>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <listener>
        <description>APNS/GCM/MPNS module</description>
        <display-name>PushComponent</display-name>
        <listener-class>com.juick.PushComponent</listener-class>
        <load-on-startup>2</load-on-startup>
    </listener>
    <listener>
        <description>Crossposting module</description>
        <display-name>CrosspostComponent</display-name>
        <listener-class>com.juick.CrosspostComponent</listener-class>
        <load-on-startup>2</load-on-startup>
    </listener>
    <listener>
        <description>XMPP module</description>
        <display-name>XMPPComponent</display-name>
        <listener-class>com.juick.xmpp.s2s.S2SComponent</listener-class>
        <load-on-startup>2</load-on-startup>
    </listener>
</web-app>