Window closed but request still running
Posted on 2006-04-17
We have a web application running on WebLogic 8.1. On the client browser, a child pop-up window accepts inputs from the user. When the user clicks the Submit button, the application will take a while to process the request, then show the results on the same pop-up window. The problem is this: sometimes the user may click the close button (the X button on the top right hand corner of the window) before the processing is finished. In this case, I would guess that the processing would be prematurely terminated by this action. But it seems that I am wrong. The processing still keeps going on despite the fact that the window is already closed. What could be the reason and how to solve the problem?
Also, when the link for the pop-up window is clicked again (to open the pop-up window). The pop-up window will show, but its dynamic contents will only appear after the processing of the previous request is finished.
For your information, we are using Struts/Spring/Hibernate as well for the web application.