2005-08-27 22:15:35 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2004-08-03 08:21:29 +00:00
|
|
|
<!DOCTYPE web-app
|
|
|
|
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
|
|
|
|
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
|
|
|
|
|
|
|
|
<web-app>
|
2014-07-26 11:01:16 +00:00
|
|
|
<filter>
|
|
|
|
<filter-name>XSSFilter</filter-name>
|
|
|
|
<filter-class>net.i2p.servlet.filters.XSSFilter</filter-class>
|
|
|
|
</filter>
|
|
|
|
<filter-mapping>
|
|
|
|
<filter-name>XSSFilter</filter-name>
|
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
</filter-mapping>
|
|
|
|
|
2004-08-05 02:24:00 +00:00
|
|
|
<!-- precompiled servlets -->
|
2010-11-19 16:14:14 +00:00
|
|
|
|
|
|
|
<!-- yeah we could do this in a handler but this is easier -->
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>net.i2p.i2ptunnel.jsp.index_jsp</servlet-name>
|
|
|
|
<!-- this becomes the default so it also covers /index and /index.html -->
|
|
|
|
<url-pattern>/</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
|
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>net.i2p.i2ptunnel.jsp.edit_jsp</servlet-name>
|
|
|
|
<url-pattern>/edit</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
|
2012-01-21 05:30:23 +00:00
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>net.i2p.i2ptunnel.jsp.wizard_jsp</servlet-name>
|
|
|
|
<url-pattern>/wizard</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
|
2016-04-24 18:10:10 +00:00
|
|
|
<servlet-mapping>
|
|
|
|
<servlet-name>net.i2p.i2ptunnel.jsp.register_jsp</servlet-name>
|
|
|
|
<url-pattern>/register</url-pattern>
|
|
|
|
</servlet-mapping>
|
|
|
|
|
2015-04-08 19:45:37 +00:00
|
|
|
<!-- this webapp doesn't actually use sessions or cookies -->
|
2004-08-03 08:21:29 +00:00
|
|
|
<session-config>
|
|
|
|
<session-timeout>
|
|
|
|
30
|
|
|
|
</session-timeout>
|
2015-04-08 19:45:37 +00:00
|
|
|
<cookie-config>
|
|
|
|
<http-only>true</http-only>
|
|
|
|
</cookie-config>
|
2004-08-03 08:21:29 +00:00
|
|
|
</session-config>
|
|
|
|
<welcome-file-list>
|
2004-08-05 02:24:00 +00:00
|
|
|
<welcome-file>index.html</welcome-file>
|
|
|
|
<welcome-file>index.jsp</welcome-file>
|
2004-08-03 08:21:29 +00:00
|
|
|
</welcome-file-list>
|
2005-08-27 22:15:35 +00:00
|
|
|
</web-app>
|