Hi, I have a page with a form that sends information to a servlet, then it generates a file to be downloaded when the form submit button is pressed.
It works OK, but when the download finishes, the controls in the page (checkboxes, radio, etc) doesn't work anymore, and I get an "access denied" message from the browser (I have javascript functions to check these controls). And only a ctrl-refresh can bring the page to its original state.
I understand that the initial page loses the focus when I submit the data to the servlet. I've tried to put a RequestDispatcher forward method pointing back to the initial page at the end of the servlet, but it didn't work.
I need help.
It works OK, but when the download finishes, the controls in the page (checkboxes, radio, etc) doesn't work anymore, and I get an "access denied" message from the browser (I have javascript functions to check these controls). And only a ctrl-refresh can bring the page to its original state.
I understand that the initial page loses the focus when I submit the data to the servlet. I've tried to put a RequestDispatcher forward method pointing back to the initial page at the end of the servlet, but it didn't work.
I need help.