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 that "problem" (or feature, depends on what you
> want)..


Using the HttpSession cache guarantee's that each user just gets the feedback 
appropriate for themselves.

Check out Jason Hunters book on Sevlets, as he ahs a good example calulating 
primes in the background, but this is visible to all users.

Jon.

Reply via email to