Author: andrei_exadel
Date: 2008-03-07 09:32:02 -0500 (Fri, 07 Mar 2008)
New Revision: 6625
Modified:
trunk/samples/fileUploadDemo/src/main/webapp/WEB-INF/web.xml
Log:
remove multipart filter from web.xml
Modified: trunk/samples/fileUploadDemo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/samples/fileUploadDemo/src/main/webapp/WEB-INF/web.xml 2008-03-07 14:13:26 UTC
(rev 6624)
+++ trunk/samples/fileUploadDemo/src/main/webapp/WEB-INF/web.xml 2008-03-07 14:32:02 UTC
(rev 6625)
@@ -25,7 +25,15 @@
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
- </filter>
+ <init-param>
+ <param-name>createTempFiles</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ <init-param>
+ <param-name>maxRequestSize</param-name>
+ <param-value>20000000</param-value>
+ </init-param>
+ </filter>
<filter>
@@ -34,7 +42,7 @@
<filter-class>org.richfaces.SleepDemoFilter</filter-class>
</filter>
- <filter>
+ <!-- filter>
<display-name>FileUpload Filter</display-name>
<filter-name>fileUpload</filter-name>
<filter-class>org.richfaces.org.jboss.seam.web.MultipartFilter</filter-class>
@@ -46,7 +54,7 @@
<param-name>maxRequestSize</param-name>
<param-value>20000000</param-value>
</init-param>
- </filter>
+ </filter-->
<filter-mapping>
@@ -59,14 +67,14 @@
</filter-mapping>
- <filter-mapping>
+ <!-- filter-mapping>
<filter-name>fileUpload</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
- </filter-mapping>
+ </filter-mapping-->
<filter-mapping>
<filter-name>ajax4jsf</filter-name>
Show replies by date