On Monday 23 April 2001 09:05, Endre Stølsvik wrote:
> Basically different threads, differnt stacks.. Each thread is executing
> the function with it's own little "memory-space", and thus each users have
> their own rendering of the servlet. But if you use class fields
> (variables) you'll get tha
On Mon, 23 Apr 2001, Shravan Shashikant wrote:
| I had a doubt over here.How do you handle multiple users accessing the
| same servlet of yours.I mean,at the same time if 2/more users access
| your servlet and consider for a moment that,what one person requires
| to be done from the servlet is di
Thanks Jon,
Well,I guess thats pretty much the only option unless I get the Apache
source code and make the changes and compile it!..I had a doubt over
here.How do you handle multiple users accessing the same servlet of
yours.I mean,at the same time if 2/more users access your servlet and
consi
Hi Shravan,
I've recently had the same situation and we solved it thus :
Encapsulate the lengthy process in an object that implements Runnable,
complete with an isFinished() call. Start a seperate thread to execute this
and place the object in the httpsession. Send a page back to the user wi
Hi there,
I have a problem with a certain servlet code of mine which takes a lot
of time to execute.The problem is that since it takes a lot of time to
execute,the browser times out the servlet after say 5 minutes.I heard
somewhere that this can be remedied by using out.flush() for the output
s