what i want is to load another page after performing a fileUpload.
I tried to put this code in the bean which process the fileupload:
return "<JSF Page Name>?faces-redirect=true"
but still no luck…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t navigate from inside an action listener method. You can only navigate from inside a real action method, the one which is bound to the
actionattribute of anUICommandcomponent.You can however send a redirect programmatically by
ExternalContext#redirect():