Hi I am doing some research work on servlets...I am trying to get some
feedback regarding the following questions.
Expert's help needed :
(1) when are servlet classes instantiated? It seems
that a web server will constantly reuse the same
servlet object -- but I don't know how to create
other instances. All of this makes sense if servlets
are stateless. so (a) are servlets supposed to be
stateless and (b) how are multiple instances of servlets
created?
(2) it is common for people to enter data on one web page
and have this information available on other (subsequent)
web pages. (e.g., the web ordering forms from Amazon.com).
If servlets are stateless, how is the relationship between
web pages (and the information they maintain) shared?
(My guess is that subsequent pages have hidden text fields
that maintain the shared information, but this seems like
a hack...).
Any help will be appreciated. Thanks.
Kash
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]