On Fri, 29 Nov 2002, Prichard-Levy Austin wrote: > Problems of this type can occur when an instance variable is > declared in error as static. What happens then, typically, is that > the last user (modifier) of such a variable sets it (via their > instance) for everyone rather than just for themselves, giving rise > to very strange and unpredictable behaviour. I came across an > example of this recently in a servlet I had to debug. I would > suggest you carefully re-examine the declarations and code of the > servlet concerned. Hope this helps. Austin
That is, a concurrency issue. I was thinking along those lines at first as well, but then I noticed he said the right output was shown when the page was reloaded/refreshed. I think that makes caching the more likely problem here, as others have mentioned. One can check the list archives for how to disable caching for a page, there are some headers you can set to do it. > > from: raju punith <[EMAIL PROTECTED]> > > date: Thu, 28 Nov 2002 23:57:17 > > to: [EMAIL PROTECTED] > > subject: Re: hi > > > > Hi, > > we have a web application (student enquiry) using mvc > > architecture (jsp, servlet & java beans). > > > > the problem. > > > > student "A" accessed his details using his personal > > computer from home & got his personal details > > displayed properly but student "B" logged in from his > > home to access personal details but got the details > > of student "A" but not of student "B" but when student > > "B" refreshed his screen or reload the page he got his > > details, both student's use the same ISP. (student "B" > > logged in after 3 hrs from student "A") student "A" > > never used student "B"'s pc before they are two > > different pc's. > > > > > > what may be causing this error ? > > > > system details. > > web server : Apache 2.0 > > servlet container : Tomcat 4.0.4 > > Browser : depends on student's pc. > > > > any help would be appreciated > > > > Regards > > Raju Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html