Author: mrdon Date: Sat Jun 21 21:01:01 2008 New Revision: 670309 URL: http://svn.apache.org/viewvc?rev=670309&view=rev Log: Adding new filter to showcase WW-2193
Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/web.xml Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/web.xml?rev=670309&r1=670308&r2=670309&view=diff ============================================================================== --- struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/web.xml (original) +++ struts/struts2/trunk/apps/showcase/src/main/webapp/WEB-INF/web.xml Sat Jun 21 21:01:01 2008 @@ -7,13 +7,8 @@ <display-name>Struts Showcase Application</display-name> <filter> - <filter-name>struts-cleanup</filter-name> - <filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class> - </filter> - - <filter> - <filter-name>struts</filter-name> - <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> + <filter-name>struts-prepare</filter-name> + <filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareFilter</filter-class> <init-param> <param-name>actionPackages</param-name> <param-value>org.apache.struts2.showcase.person</param-value> @@ -21,12 +16,17 @@ </filter> <filter> + <filter-name>struts-execute</filter-name> + <filter-class>org.apache.struts2.dispatcher.filter.StrutsExecuteFilter</filter-class> + </filter> + + <filter> <filter-name>sitemesh</filter-name> <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class> </filter> <filter-mapping> - <filter-name>struts-cleanup</filter-name> + <filter-name>struts-prepare</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> @@ -36,7 +36,7 @@ </filter-mapping> <filter-mapping> - <filter-name>struts</filter-name> + <filter-name>struts-execute</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>