Hi,

Don't use instance or class variables within servlet if you-re
going to change them during a doGet() or doPost().

Best place to keep such variables is HttpSession.

Cezar.

On Tue, 22 Jun 1999, Jonathan Dick wrote:

> I am testing my servlets using ServletRunner and I tried accessing the same
> servlet from multiple computers. At first I did nothing to prevent any
> errors. Unfortunately, the servlets returned the same information to both
> computers even though each computer requested something different. I then
> tried implementing the SingleThreadModel but found this to be very slow. Is
> their a fast way of making sure the correct information is returned to the
> corresponding computer?
>
> Thanks for your help,
>
> Jonathan
>
> ___________________________________________________________________________
> 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
>

___________________________________________________________________________
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

Reply via email to