AMit Bairagi wrote:
>
> Please note that I am using one servlet to throw
> various outputs. the results from various user inputs
> are stored in variables till user finally submits his
> data. what to do in such a case?
>
> This is more like where a user wants to register and
> there are more then one form he has to fill. The
> details received through these various forms are
> stored as variables in the servlet. So, implementing
> STM does not seem to be appropriate solution, where
> one particular servlet throws a single page only.
>
> I guess I have to physically create multiple instances
> of this servlet class, and each of these classes
> should not be allowed to use till the user fills up
> all the forms. If i am right, pls tell me how to do
> that.
>
> Regards
Um, no offence, but I get the impression that you're not an expert
servlet programmer? I think you would find the answers you are looking
for in a book such as the O'reilly servlet book (Jason Hunter I
think), certainly I found that an excellent reference. What you are
trying to achieve sounds like a use for the session tracking in the
servlet API, the above book will explain all...
Hope this helps,
Tom
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]