Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Terminate a jsp page on exit in browser

843838Jul 12 2007 — edited Jul 13 2007
I have a jsp page that reads from an excel file as a database. I have it sleep everytime it finish reading a row and prints it out. I do this to make it a really long task.
My problem is when i exit my jsp page on a browser it seem like the page is still running and reading the file. Either the jsp page is or Tomcat is, but all i know I can't delete the excel file once I exit the jsp page.
I can however wait till the jsp page finish and delete the file but that is not always the case.

My question is, is there a way to terminate the page upon exiting the page or anyway to terminate the page once it is running.

Thank you,
Henry
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2007
Added on Jul 12 2007
10 comments
348 views