This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

How to stop jsp from executing any further  RSS feed

 
Sushil Suvarna
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi
I have a heavy jsp code which runs on an oracle server ,and this server get the required data from another webi server. The problem is when many users are connected there are many processes initiated on both the servers. Once the user closes his/her browser the process on the servers initiated by them should stop , but it does not.hence loading the server.

In asp we would do
if (!response.isClientConnected())
{
response.end();
}
Can you tell me equivalent jsp code to stop further execution if client is not connected.

Please Help.

Sushil.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sushil, please do not ask the same question twice. Any discussion should be conducted here.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!