source: apps/susidns/src/WEB-INF/web-template.xml @ b4f3d961

Last change on this file since b4f3d961 was b4f3d961, checked in by zzz <zzz@…>, 2 years ago

SusDNS: Translate svg image text (ticket #1749)

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE web-app
3    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
4    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
5<web-app>
6    <filter>
7        <filter-name>XSSFilter</filter-name>
8        <filter-class>net.i2p.servlet.filters.XSSFilter</filter-class>
9    </filter>
10    <filter-mapping>
11        <filter-name>XSSFilter</filter-name>
12        <url-pattern>/*</url-pattern>
13    </filter-mapping>
14
15  <display-name>susidns</display-name>
16
17    <servlet>
18        <servlet-name>addressbook-runner</servlet-name>
19        <servlet-class>net.i2p.addressbook.servlet.Servlet</servlet-class>
20        <init-param>
21            <param-name>home</param-name>
22            <param-value>./addressbook</param-value>
23        </init-param>
24        <load-on-startup>1</load-on-startup>
25    </servlet>
26
27    <servlet>
28      <servlet-name>i2p.susi.dns.TranslateSVGServlet</servlet-name>
29      <servlet-class>i2p.susi.dns.TranslateSVGServlet</servlet-class>
30    </servlet>
31
32    <servlet-mapping> 
33      <servlet-name>addressbook-runner</servlet-name>
34      <url-pattern>/addressbook-runner</url-pattern>
35    </servlet-mapping>
36
37    <!-- precompiled servlets -->
38
39    <!-- non-.jsp URLs -->
40
41    <servlet-mapping>
42        <servlet-name>i2p.susi.dns.jsp.config_jsp</servlet-name>
43        <url-pattern>/config</url-pattern>
44    </servlet-mapping>
45
46    <servlet-mapping>
47        <servlet-name>i2p.susi.dns.jsp.subscriptions_jsp</servlet-name>
48        <url-pattern>/subscriptions</url-pattern>
49    </servlet-mapping>
50
51    <servlet-mapping>
52        <servlet-name>i2p.susi.dns.jsp.addressbook_jsp</servlet-name>
53        <url-pattern>/addressbook</url-pattern>
54    </servlet-mapping>
55
56    <servlet-mapping>
57        <servlet-name>i2p.susi.dns.jsp.details_jsp</servlet-name>
58        <url-pattern>/details</url-pattern>
59    </servlet-mapping>
60
61    <servlet-mapping>
62        <servlet-name>i2p.susi.dns.jsp.index_jsp</servlet-name>
63        <url-pattern>/index</url-pattern>
64    </servlet-mapping>
65
66    <servlet-mapping>
67        <servlet-name>i2p.susi.dns.jsp.export_jsp</servlet-name>
68        <url-pattern>/export</url-pattern>
69    </servlet-mapping>
70
71    <servlet-mapping>
72      <servlet-name>i2p.susi.dns.TranslateSVGServlet</servlet-name>
73      <url-pattern>/images/*</url-pattern>
74    </servlet-mapping>
75
76    <session-config>
77        <session-timeout>
78            30
79        </session-timeout>
80    </session-config>
81    <welcome-file-list>
82        <welcome-file>index.html</welcome-file>
83        <welcome-file>index.jsp</welcome-file>
84    </welcome-file-list>
85
86</web-app>
Note: See TracBrowser for help on using the repository browser.