I have an EJB application which is connected to a web site. The website is
developed using JSPs & Servlets.
Most of the JSPs have two buttons.
One to submit the information and the second to reset the information.
When the user clicks on the submit button, the information goes to EJB
through a servlet. It takes almost 8 seconds for the EJBs to save the
During these 8 seconds, if the user clicks on the reset button, I want
to stop the EJB from doing all the processing, transaction, etc... and
Is there any way to do this ? Any pointers, URLs, references to any other
resource would be greatly appreciated.