Author: ate Date: Thu Jun 14 13:18:41 2007 New Revision: 547390 URL: http://svn.apache.org/viewvc?view=rev&rev=547390 Log: WICKET-657: New Wicket Portlet support: adapting wicket-examples to use the new portlet support so they can be run as portlets See: https://issues.apache.org/jira/browse/WICKET-657
Note: this change configures a Jetspeed-2 specific implementation for the PortletResourceURLFactory interface in web.xml. Furthermore, the web.xml now depends on servlet API 2.4 Added: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/portlet.xml (with props) Modified: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/pom.xml incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/web.xml Modified: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/pom.xml URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/pom.xml?view=diff&rev=547390&r1=547389&r2=547390 ============================================================================== --- incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/pom.xml (original) +++ incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/pom.xml Thu Jun 14 13:18:41 2007 @@ -95,6 +95,11 @@ <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </dependency> + <dependency> + <groupId>javax.portlet</groupId> + <artifactId>portlet-api</artifactId> + <scope>provided</scope> + </dependency> </dependencies> <build> <plugins> Added: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/portlet.xml URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/portlet.xml?view=auto&rev=547390 ============================================================================== --- incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/portlet.xml (added) +++ incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/portlet.xml Thu Jun 14 13:18:41 2007 @@ -0,0 +1,649 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> + <portlet> + <description>AjaxApplication</description> + <portlet-name>AjaxApplication</portlet-name> + <display-name>AjaxApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/ajax</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>AjaxApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>AjaxPrototypeApplication</description> + <portlet-name>AjaxPrototypeApplication</portlet-name> + <display-name>AjaxPrototypeApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/prototype</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>AjaxPrototypeApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>RepeaterExamplesApplication</description> + <portlet-name>RepeaterExamplesApplication</portlet-name> + <display-name>RepeaterExamplesApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/repeater</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>RepeaterExamplesApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>NiceUrlApplication</description> + <portlet-name>NiceUrlApplication</portlet-name> + <display-name>NiceUrlApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/niceurl</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>NiceUrlApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>SignInApplication</description> + <portlet-name>SignInApplication</portlet-name> + <display-name>SignInApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/signin</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>SignInApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>StockQuoteApplication</description> + <portlet-name>StockQuoteApplication</portlet-name> + <display-name>StockQuoteApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/stock</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>StockQuoteApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>SignIn2Application</description> + <portlet-name>SignIn2Application</portlet-name> + <display-name>SignIn2Application</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/signin2</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>SignIn2Application</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>HangmanApplication</description> + <portlet-name>HangmanApplication</portlet-name> + <display-name>HangmanApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/hangman</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>HangmanApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>NestedApplication</description> + <portlet-name>NestedApplication</portlet-name> + <display-name>NestedApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/nested</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>NestedApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>PubApplication</description> + <portlet-name>PubApplication</portlet-name> + <display-name>PubApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/pub</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>PubApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>NavomaticApplication</description> + <portlet-name>NavomaticApplication</portlet-name> + <display-name>NavomaticApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/navomatic</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>NavomaticApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>LinkomaticApplication</description> + <portlet-name>LinkomaticApplication</portlet-name> + <display-name>LinkomaticApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/linkomatic</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>LinkomaticApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>LibraryApplication</description> + <portlet-name>LibraryApplication</portlet-name> + <display-name>LibraryApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/library</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>LibraryApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>ImagesApplication</description> + <portlet-name>ImagesApplication</portlet-name> + <display-name>ImagesApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/images</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>ImagesApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>HelloWorldApplication</description> + <portlet-name>HelloWorldApplication</portlet-name> + <display-name>HelloWorldApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/helloworld</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>HelloWorldApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>EchoApplication</description> + <portlet-name>EchoApplication</portlet-name> + <display-name>EchoApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/echo</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>EchoApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>UnicodeConverterApplication</description> + <portlet-name>UnicodeConverterApplication</portlet-name> + <display-name>UnicodeConverterApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/unicode</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>UnicodeConverterApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>HelloBrowserApplication</description> + <portlet-name>HelloBrowserApplication</portlet-name> + <display-name>HelloBrowserApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/hellobrowser</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>HelloBrowserApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>FormInputApplication</description> + <portlet-name>FormInputApplication</portlet-name> + <display-name>FormInputApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/forminput</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>FormInputApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>GuestBookApplication</description> + <portlet-name>GuestBookApplication</portlet-name> + <display-name>GuestBookApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/guestbook</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>GuestBookApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>UploadApplication</description> + <portlet-name>UploadApplication</portlet-name> + <display-name>UploadApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/upload</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>UploadApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>EncodingsApplication</description> + <portlet-name>EncodingsApplication</portlet-name> + <display-name>EncodingsApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/encodings</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>EncodingsApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>TemplateApplication</description> + <portlet-name>TemplateApplication</portlet-name> + <display-name>TemplateApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/template</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>TemplateApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>ComponentReferenceApplication</description> + <portlet-name>ComponentReferenceApplication</portlet-name> + <display-name>ComponentReferenceApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/compref</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>ComponentReferenceApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>FramesApplication</description> + <portlet-name>FramesApplication</portlet-name> + <display-name>FramesApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/frames</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>FramesApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>CustomResourceLoadingApplication</description> + <portlet-name>CustomResourceLoadingApplication</portlet-name> + <display-name>CustomResourceLoadingApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/customresourceloading</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>CustomResourceLoadingApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>WizardApplication</description> + <portlet-name>WizardApplication</portlet-name> + <display-name>WizardApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/wizard</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>WizardApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>CaptchaApplication</description> + <portlet-name>CaptchaApplication</portlet-name> + <display-name>CaptchaApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/captcha</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>CaptchaApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>BreadCrumbApplication</description> + <portlet-name>BreadCrumbApplication</portlet-name> + <display-name>BreadCrumbApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/breadcrumb</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>BreadCrumbApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>StatelessApplication</description> + <portlet-name>StatelessApplication</portlet-name> + <display-name>StatelessApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/stateless</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>StatelessApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>StaticPagesApplication</description> + <portlet-name>StaticPagesApplication</portlet-name> + <display-name>StaticPagesApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/staticpages</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>StaticPagesApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>RolesAuthApplication</description> + <portlet-name>RolesAuthApplication</portlet-name> + <display-name>RolesAuthApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/authorization</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>RolesAuthApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>MyAuthenticatedWebApplication</description> + <portlet-name>MyAuthenticatedWebApplication</portlet-name> + <display-name>MyAuthenticatedWebApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/authentication</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>MyAuthenticatedWebApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>SpringExample</description> + <portlet-name>SpringExample</portlet-name> + <display-name>SpringExample</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/spring</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>SpringExample</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> + <portlet> + <description>VelocityTemplateApplication</description> + <portlet-name>VelocityTemplateApplication</portlet-name> + <display-name>VelocityTemplateApplication</display-name> + <portlet-class>org.apache.wicket.protocol.http.portlet.WicketPortlet</portlet-class> + <init-param> + <name>wicketFilterPath</name> + <value>/welocity</value> + </init-param> + <supports> + <mime-type>*/*</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <portlet-info> + <title>VelocityTemplateApplication</title> + <keywords>Wicket</keywords> + </portlet-info> + </portlet> +</portlet-app> Propchange: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/portlet.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/portlet.xml ------------------------------------------------------------------------------ svn:keywords = Id Modified: incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/web.xml?view=diff&rev=547390&r1=547389&r2=547390 ============================================================================== --- incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/web.xml (original) +++ incubator/wicket/branches/wicket-1.3-portlet-support/jdk-1.5/wicket-examples/src/main/webapp/WEB-INF/web.xml Thu Jun 14 13:18:41 2007 @@ -15,12 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -<!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> - +<web-app xmlns="http://java.sun.com/xml/ns/j2ee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" + version="2.4"> + <display-name>Wicket Examples</display-name> <!-- only available with servlet spec. 2.4 @@ -43,7 +42,7 @@ --> <context-param> <param-name>configuration</param-name> - <param-value>deployment</param-value> + <param-value>development</param-value> </context-param> <context-param> @@ -51,9 +50,19 @@ <param-value>classpath:applicationContext.xml</param-value> </context-param> + <context-param> + <param-name>org.apache.portals.bridges.common.ServletContextProvider</param-name> + <param-value>org.apache.jetspeed.portlet.ServletContextProviderImpl</param-value> + </context-param> + + <context-param> + <param-name>org.apache.portals.bridges.common.PortletResourceURLFactory</param-name> + <param-value>org.apache.jetspeed.portlet.PortletResourceURLFactoryImpl</param-value> + </context-param> + <filter> <filter-name>AjaxPrototypeApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.ajax.prototype.PrototypeApplication</param-value> @@ -62,7 +71,7 @@ <filter> <filter-name>AjaxApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.ajax.builtin.AjaxApplication</param-value> @@ -71,7 +80,7 @@ <filter> <filter-name>HelloWorldApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.helloworld.HelloWorldApplication</param-value> @@ -80,7 +89,7 @@ <filter> <filter-name>EchoApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.echo.EchoApplication</param-value> @@ -89,7 +98,7 @@ <filter> <filter-name>UnicodeConverterApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.unicodeconverter.UnicodeConverterApplication</param-value> @@ -98,7 +107,7 @@ <filter> <filter-name>HelloBrowserApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.hellobrowser.HelloBrowserApplication</param-value> @@ -107,7 +116,7 @@ <filter> <filter-name>StockQuoteApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.stockquote.StockQuoteApplication</param-value> @@ -116,7 +125,7 @@ <filter> <filter-name>HangmanApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.hangman.HangmanApplication</param-value> @@ -125,7 +134,7 @@ <filter> <filter-name>FormInputApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.forminput.FormInputApplication</param-value> @@ -134,7 +143,7 @@ <filter> <filter-name>NestedApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.nested.NestedApplication</param-value> @@ -143,7 +152,7 @@ <filter> <filter-name>GuestBookApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.guestbook.GuestBookApplication</param-value> @@ -152,7 +161,7 @@ <filter> <filter-name>ImagesApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.images.ImagesApplication</param-value> @@ -161,7 +170,7 @@ <filter> <filter-name>LibraryApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.library.LibraryApplication</param-value> @@ -170,7 +179,7 @@ <filter> <filter-name>LinkomaticApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.linkomatic.LinkomaticApplication</param-value> @@ -179,7 +188,7 @@ <filter> <filter-name>NavomaticApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.navomatic.NavomaticApplication</param-value> @@ -188,7 +197,7 @@ <filter> <filter-name>PubApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.pub.PubApplication</param-value> @@ -197,7 +206,7 @@ <filter> <filter-name>SignInApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.signin.SignInApplication</param-value> @@ -206,7 +215,7 @@ <filter> <filter-name>SignIn2Application</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.signin2.SignIn2Application</param-value> @@ -215,7 +224,7 @@ <filter> <filter-name>UploadApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.upload.UploadApplication</param-value> @@ -224,7 +233,7 @@ <filter> <filter-name>EncodingsApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.encodings.EncodingsApplication</param-value> @@ -233,7 +242,7 @@ <filter> <filter-name>TemplateApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.template.TemplateApplication</param-value> @@ -246,7 +255,7 @@ <filter> <filter-name>ComponentReferenceApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.compref.ComponentReferenceApplication</param-value> @@ -255,7 +264,7 @@ <filter> <filter-name>RepeaterExamplesApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.repeater.RepeaterApplication</param-value> @@ -264,7 +273,7 @@ <filter> <filter-name>NiceUrlApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.niceurl.NiceUrlApplication</param-value> @@ -273,7 +282,7 @@ <filter> <filter-name>FramesApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.frames.FramesApplication</param-value> @@ -282,7 +291,7 @@ <filter> <filter-name>CustomResourceLoadingApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.customresourceloading.CustomResourceLoadingApplication</param-value> @@ -291,7 +300,7 @@ <filter> <filter-name>WizardApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.wizard.WizardApplication</param-value> @@ -300,7 +309,7 @@ <filter> <filter-name>CaptchaApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.captcha.CaptchaApplication</param-value> @@ -309,7 +318,7 @@ <filter> <filter-name>BreadCrumbApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.breadcrumb.BreadCrumbApplication</param-value> @@ -318,7 +327,7 @@ <filter> <filter-name>StatelessApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.stateless.StatelessApplication</param-value> @@ -327,7 +336,7 @@ <filter> <filter-name>StaticPagesApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.staticpages.Application</param-value> @@ -336,7 +345,7 @@ <filter> <filter-name>RolesAuthApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.authorization.strategies.role.example.RolesApplication</param-value> @@ -345,7 +354,7 @@ <filter> <filter-name>MyAuthenticatedWebApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.authentication.example.MyAuthenticatedWebApplication</param-value> @@ -354,7 +363,7 @@ <filter> <filter-name>SpringExample</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationFactoryClassName</param-name> <param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value> @@ -363,7 +372,7 @@ <filter> <filter-name>VelocityTemplateApplication</filter-name> - <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> + <filter-class>org.apache.wicket.protocol.http.portlet.WicketPortletFilter</filter-class> <init-param> <param-name>applicationClassName</param-name> <param-value>org.apache.wicket.examples.velocity.VelocityTemplateApplication</param-value> @@ -373,176 +382,246 @@ <filter-mapping> <filter-name>AjaxApplication</filter-name> <url-pattern>/ajax/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>AjaxPrototypeApplication</filter-name> <url-pattern>/prototype/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>RepeaterExamplesApplication</filter-name> <url-pattern>/repeater/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>NiceUrlApplication</filter-name> <url-pattern>/niceurl/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>SignInApplication</filter-name> <url-pattern>/signin/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>StockQuoteApplication</filter-name> <url-pattern>/stock/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>SignIn2Application</filter-name> <url-pattern>/signin2/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>HangmanApplication</filter-name> <url-pattern>/hangman/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>NestedApplication</filter-name> <url-pattern>/nested/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>PubApplication</filter-name> <url-pattern>/pub/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>NavomaticApplication</filter-name> <url-pattern>/navomatic/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>LinkomaticApplication</filter-name> <url-pattern>/linkomatic/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>LibraryApplication</filter-name> <url-pattern>/library/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>ImagesApplication</filter-name> <url-pattern>/images/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>HelloWorldApplication</filter-name> <url-pattern>/helloworld/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>EchoApplication</filter-name> <url-pattern>/echo/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>UnicodeConverterApplication</filter-name> <url-pattern>/unicodeconverter/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>HelloBrowserApplication</filter-name> <url-pattern>/hellobrowser/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>FormInputApplication</filter-name> <url-pattern>/forminput/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>GuestBookApplication</filter-name> <url-pattern>/guestbook/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>UploadApplication</filter-name> <url-pattern>/upload/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>EncodingsApplication</filter-name> <url-pattern>/encodings/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>TemplateApplication</filter-name> <url-pattern>/template/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>ComponentReferenceApplication</filter-name> <url-pattern>/compref/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>FramesApplication</filter-name> <url-pattern>/frames/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>CustomResourceLoadingApplication</filter-name> <url-pattern>/customresourceloading/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>WizardApplication</filter-name> <url-pattern>/wizard/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>CaptchaApplication</filter-name> <url-pattern>/captcha/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>BreadCrumbApplication</filter-name> <url-pattern>/breadcrumb/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>StatelessApplication</filter-name> <url-pattern>/stateless/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>StaticPagesApplication</filter-name> <url-pattern>/staticpages/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>RolesAuthApplication</filter-name> <url-pattern>/authorization/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>MyAuthenticatedWebApplication</filter-name> <url-pattern>/authentication/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>SpringExample</filter-name> <url-pattern>/spring/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping> <filter-name>VelocityTemplateApplication</filter-name> <url-pattern>/velocity/*</url-pattern> + <dispatcher>REQUEST</dispatcher> + <dispatcher>INCLUDE</dispatcher> </filter-mapping> <listener>