@@ -5,7 +5,7 @@ Spring Web Flow provides a JavaServer Faces (JSF) integration that lets you use
55Web Flow also provides a Spring Security tag library for use in JSF environments.
66See <<_spring_faces_security_taglib>> for more details.
77
8- Spring Web Flow 2.5 requires JSF 2.2 or higher.
8+ Spring Web Flow 3.0 requires JSF 4.0 or higher.
99
1010[[_spring_faces_config_web.xml]]
1111=== Configuring `web.xml`
@@ -540,32 +540,9 @@ Generally, when working with these components, JSF must take complete control of
540540Spring Web Flow has been tested with file upload components from PrimeFaces.
541541Check the documentation of your JSF component library for other providers to see how to configure file upload.
542542
543- ==== File Uploads with PrimeFaces
544-
545- PrimeFaces provides a `<p:fileUpload>` component for uploading files.
546- To use the component, you need to configure the `org.primefaces.webapp.filter.FileUploadFilter` servlet filter.
547- The filter needs to be configured against Spring MVC's `DispatcherServlet` in your `web.xml`, as follows:
548-
549- ====
550- [source,xml]
551- ----
552- <filter>
553- <filter-name>PrimeFaces FileUpload Filter</filter-name>
554- <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class>
555- </filter>
556- <filter-mapping>
557- <filter-name>PrimeFaces FileUpload Filter</filter-name>
558- <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
559- </filter-mapping>
560-
561- <context-param>
562- <param-name>primefaces.UPLOADER</param-name>
563- <param-value>commons</param-value>
564- </context-param>
565- ----
566- ====
567-
568- For more details, see the https://primefaces.org/documentation.html[PrimeFaces documentation].
543+ Generally, you'll need to enable multipart support in the Servlet container,
544+ either by adding a "multipart-config" element to the the `DispatcherServlet` declaration in web.xml,
545+ or by using a `jakarta.servlet.MultipartConfigElement` in programmatic servlet registration
569546
570547[[_spring_faces_security_taglib]]
571548=== Using the Spring Security Facelets Tag Library
0 commit comments