• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet monitoring while processing

 
gowtham thurangi
Greenhorn
Posts: 13
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. One request == one response.
 
gowtham thurangi
Greenhorn
Posts: 13
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic