Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 66143
141
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.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!