Hi,
I have a hyperlink on a
jsp page which generates a report in PDF format. When user selects large amount of data and clicks on this link it takes lot of time for the
report generation (this is fine). Issue is: If user selects large amount of data and clicks multiple times on this hyperlink, multiple threads started on the application server (WAS 6) and the site performance goes down.
The flow is --> User clicks on a hyperlink on a JSP , Request goes to a
servlet which generates the PDF report and provides the PDf back to the user.
Now one way to control multiple submit could be that I disable the hyperlink on the click but I do not know how to enable it back as the response would be already
commited through the PDF report that was given back to the user(OutputStream).Can somebody please help me on this by giving some suggestions/best
practices/examples? any help would be appreciated.
Thanks,
Deepak