| Author |
Servlet monitoring while processing
|
gowtham thurangi
Greenhorn
Joined: Apr 05, 2011
Posts: 13
|
|
Hi all,
My question is , when am running a servlet using ajax. It returning the response after servlet processing. Is there any way to get the response from the servlet after some progress. Please reply me.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
No. One request == one response.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
gowtham thurangi
Greenhorn
Joined: Apr 05, 2011
Posts: 13
|
|
hi,
So is there any other technology or any way to get the progress of servlet. while its running.
Can we get the how much percent it was executed.
Please...
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
How long a period are we talking about? There have been previous discussions on monitoring long-running processes spawned in separate threads.
|
 |
Sunny Bhandari
Ranch Hand
Joined: Dec 06, 2010
Posts: 446
|
|
One work around would be:
Split the processing you are doing right now into multiple servlets and call them in sequence.
Increase the progress bar as soon as one response is received.
Not an exact progress bar but something is better than nothing.
|
 |
 |
|
|
subject: Servlet monitoring while processing
|
|
|