Hello,
I am new to Servlets.
Excuse me if such a question was been already answered before, but when I searcher the 
archives, the error "A configuration error was detected in the CGI script; the 
SEARCH-HELP template could not be found." has occurred.

So, I need to understand do I need (and if "yes" - then how) to create new instance of 
my Servlet, each separated in new Thread for evrey new connected client?

First I thought that this is done by default, and maybe a new copy of the servlet is 
created for each client... But I found out, that if a field is created , which 
increments its value into the doPost(...) /or doGet(...)/ method, its value grows up 
consecutively, no matter which client does its doPost method. It behaves as a static 
field...

Is there a method which to force the Servlet to create new fields instances for each 
client, or this is not needed (and I am on a wrong way)?

Thanks,
Lyubomir.

___________________________________________________________________________
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