aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-26 20:22:59 +0300
committerGravatar Vitaly Takmazov2016-01-26 20:22:59 +0300
commitd5b637c358a05965435716ba366f141eb1f61142 (patch)
tree8ebeea4b7bfda3a70592a41c149615486cc46ea5 /src/main/webapp/WEB-INF
parent75d80dc433348435c1f8e11fafb0d1deda1ca793 (diff)
register listener
Diffstat (limited to 'src/main/webapp/WEB-INF')
-rw-r--r--src/main/webapp/WEB-INF/web.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index 40c484d7..b4fbc03d 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -1,5 +1,7 @@
<?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">
+<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>
@@ -40,4 +42,9 @@
<display-name>CrosspostComponent</display-name>
<listener-class>com.juick.CrosspostComponent</listener-class>
</listener>
+ <listener>
+ <description>XMPP module</description>
+ <display-name>XMPPComponent</display-name>
+ <listener-class>com.juick.xmpp.s2s.XMPPComponent</listener-class>
+ </listener>
</web-app>