This content has been marked as final.
Show 1 reply
-
1. Re: In RequestScope File upload is not working
yyq2009 Jul 16, 2012 1:24 AM (in response to aniketmurtarkar)Pls sure that you configed upload part correctly in your web.xml if you can't upload file.
If you upload file successully and after that, the request bean will be recreated, so data in the bean will be lost, if you want it stored the data, you should use viewscope in jsf 2.0 or use <a4j:keepAlive beanName="yourbean"/> or myfaces <t:saveState value="#{bean.files}" /> in jsf 1.2.
Good luck.