0

p:fileUpload listener in not invoking in primefaces-8.0 with myfaces-2.3,java-1.8 and tomcat-9.0.73. During migration process i am testing and it's working till primefaces-5.0 and myfaces-2.3. After upgrading to primefaces-5.0 with same myfaces-2.3 fileUploadListener is not invoking. My target is to it should work with myfaces-2.3 and primefaces-8.0.

I am keep on trying with different configurations in web.xml and there is no luck. any help could be appreciated. Thanks in advance.

I am expecting p:fileUpload listener should be invoked in Primefaces-8.0 with myfaces-2.3.

I was tried with and without

<filter>
    <filter-name>PrimeFaces FileUpload Filter</filter-name>
    <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>PrimeFaces FileUpload Filter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

and also

<context-param>
    <param-name>primefaces.UPLOADER</param-name>
    <param-value>auto</param-value>
</context-param>

auto and commons with advanced mode but there is no luck.

  • UPDATE: It's working if i remove MyFacesExtensionsFilter from web.xml. I need to check alternatives for MyFacesExtensionsFilter which is used by tomahawk file uploade. – Sudhakar K Apr 02 '23 at 09:31

0 Answers0