I have a "user registration" servlet that overrides doGet() to
present the registration form, and the doPost() method which
takes the form and stores information in a database, then
displays a "thank you for registering" message.

I would love to have the registration form not appear in the
browser history so that if a user does a "Back" on the browser,
they do not see the form again.

Within a doGet() method I can output Javascript to do a
"location.replace()" to somewhere else, but I don't know of
a way to do this in a doPost() method. Or actually, the
problem lies in having an HTML form submitted.

I've thought about not using "input type=submit" and using
Javascript to send the form via a query string, but it is
yucky. I'd rather use a POST because the form is large.

Any ideas?

___________________________________________________________________________
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