|
|
@@ -1,20 +1,25 @@
|
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<!DOCTYPE web-app
|
|
|
- PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
|
|
- "http://java.sun.com/dtd/web-app_2_3.dtd">
|
|
|
+<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
|
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
|
|
|
+ http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
|
|
|
+ version="3.1">
|
|
|
|
|
|
-<web-app>
|
|
|
- <display-name>Wicket Examples</display-name>
|
|
|
<filter>
|
|
|
- <filter-name>MainApplication</filter-name>
|
|
|
+ <filter-name>wicket.filter</filter-name>
|
|
|
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
|
|
|
<init-param>
|
|
|
<param-name>applicationClassName</param-name>
|
|
|
<param-value>main.java.MainApplication</param-value>
|
|
|
</init-param>
|
|
|
+ <init-param>
|
|
|
+ <param-name>filterMappingUrlPattern</param-name>
|
|
|
+ <param-value>/*</param-value>
|
|
|
+ </init-param>
|
|
|
</filter>
|
|
|
+
|
|
|
<filter-mapping>
|
|
|
- <filter-name>MainApplication</filter-name>
|
|
|
+ <filter-name>wicket.filter</filter-name>
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
</filter-mapping>
|
|
|
+
|
|
|
</web-app>
|