1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <web-app 3 xmlns="http://java.sun.com/xml/ns/javaee" 4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 5 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 6 version="2.5"> 7 <display-name>IRC-Proxy</display-name> 8 <context-param> 9 <param-name>org.eclipse.jetty.server.context.ManagedAttributes</param-name> 10 <param-value>org.eclipse.jetty.servlets.ProxyServlet.Logger,org.eclipse.jetty.servlets.ProxyServlet.ThreadPool,org.eclipse.jetty.servlets.ProxyServlet.HttpClient</param-value> 11 </context-param> 12 <servlet> 13 <servlet-name>irc-proxy</servlet-name> 14 <servlet-class>org.chromium.IRCProxyWebSocket</servlet-class> 15 <load-on-startup>1</load-on-startup> 16 </servlet> 17 <servlet-mapping> 18 <servlet-name>irc-proxy</servlet-name> 19 <url-pattern>/ws/*</url-pattern> 20 </servlet-mapping> 21 </web-app> 22 23 24