Author: mvitenkov
Date: 2008-12-30 06:08:48 -0500 (Tue, 30 Dec 2008)
New Revision: 12063
Modified:
trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
Log:
Correct filter mapping for extension filter to check fileUpload.
Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-12-30 11:06:08 UTC
(rev 12062)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-12-30 11:08:48 UTC
(rev 12063)
@@ -3,6 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>vcp-ComponentsTesting_3_0(1.1)</display-name>
+
<context-param>
<param-name>org.ajax4jsf.SKIN</param-name>
<param-value>#{skinBean.skin}</param-value>
@@ -258,26 +259,18 @@
</filter>
<filter-mapping>
- <filter-name>extensionsFilter</filter-name>
- <servlet-name>Faces Servlet</servlet-name>
- </filter-mapping>
-
-
-
-
- <filter-mapping>
- <filter-name>extensionsFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
-
-
- <filter-mapping>
<filter-name>ajax4jsf</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
+ <dispatcher>ERROR</dispatcher>
</filter-mapping>
+
+ <filter-mapping>
+ <filter-name>extensionsFilter</filter-name>
+ <servlet-name>Faces Servlet</servlet-name>
+ </filter-mapping>
<session-config>
<session-timeout>600</session-timeout>
@@ -306,4 +299,10 @@
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
+
+ <error-page>
+ <error-code>404</error-code>
+ <location>/error404.jsf</location>
+ </error-page>
+
</web-app>