Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 13178 invoked by uid 500); 23 Apr 2001 09:05:38 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 13130 invoked from network); 23 Apr 2001 09:05:36 -0000 Received: from due.stud.ntnu.no (129.241.56.71) by h31.sny.collab.net with SMTP; 23 Apr 2001 09:05:36 -0000 Received: from localhost (localhost [127.0.0.1]) by due.stud.ntnu.no (Postfix) with ESMTP id 0B04D17B06 for ; Mon, 23 Apr 2001 11:05:43 +0200 (CEST) Received: from jeeves.stud.ntnu.no (jeeves [129.241.56.14]) by due.stud.ntnu.no (Postfix) with ESMTP id AB15117B11 for ; Mon, 23 Apr 2001 11:05:40 +0200 (CEST) Received: from localhost (endrs@localhost) by jeeves.stud.ntnu.no (8.10.0.Beta12/8.10.0.Beta12) with ESMTP id f3N95f314465 for ; Mon, 23 Apr 2001 11:05:41 +0200 (MET DST) X-Authentication-Warning: jeeves.stud.ntnu.no: endrs owned process doing -bs Date: Mon, 23 Apr 2001 11:05:40 +0200 (MET DST) From: =?iso-8859-1?Q?Endre_St=F8lsvik?= X-X-Sender: To: Subject: Re: Timeout issue In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-10 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 different from what the other person | wants.basically if the parameters are different,i dont see how you can | handle multiple users accessing the servlet and being provided the | results they asked for. 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).. -- Mvh, Endre