Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

PRIVATE VARIABLES WITHIN PUBLIC CLASS

vcragain

2006-02-06

Replies:

Hi -
Can someone please de-confuse me - If I have a public servlet class, with
ONLY private variables, how could the data get overlaid - isnt private data
supposed to be owned by the specific object ONLY ?
Since we just invoke the servlet via the html - is there only 1 instance of
the code ie 1 object invoked...therefore whoever he is referenced by last,
owns his data ?

___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
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
©2008 junlu.com - Jax Systems, LLC, U.S.A.