hi!
I have a problem in refreshing a page when an application exception is thrown. I have a
jsp where in if user enters a year and month and presses submit button then a pdf report is generated and acrobat reader open dialog box pops-up, but if data doesnt exists for that year and month then an application exception thrown and is shown in same jsp.
Scenario: If user enters year and month for which data doesnt exists then application exception is shown in the page correctly , but after that if he gives valid input then pdf is generated but this jsp is not refreshed as a result the error for previous input is not wiped out... this is happening because when there is no error , i am returning success in my action and for success i have a forward action in my struts-config which opens pdf in a new jsp and it doesnt return this jsp and this jsp is not reloaded. can anyone give me a solution where in for the same forward parameter i can refresh this input jsp as well as open pdf in another jsp.