Dear users,

My application(jsf2.2+primeface6.0,OEPNJDK1.8) running well when deployed in 
Tomcat9.0.105,but without any code changes and it facing a file upload and file 
download issue by using Tomcat9(>= 9.0.106).


code as below:
<p:fileUpload id="fileUploadId" fileUploadListener="#{invInfoAM.uploadFile}" 
fileLimit="1"
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mode="advanced" 
sizeLimit="20971520" allowTypes="/(\.|\/)(jpe?g|png|pdf)$/"
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;oncomplete="recognition();"/&gt;

apache common lib we used:



Do we have any suggestion to solve this issue?

Reply via email to