Hi guys,
I have some basic question .
Can I have a servlet's request as a class attribue in my servlet class .
(Like the code segment below)
Would there be any thread unsafe issues because of this?
public class ServletClass
{
HttpServletRequest request;
HttpServletResponse response;
public void doGet(HttpServletRequest req,HttpServletResponse res)
{
request = req;
response = res;
...
}//end of doGet
}//Servlet class
Thanks,
Vidhya
___________________________________________________________________________
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