Hello,

I'm writing my first servlet that actually to do something other then
writing helloworld.

This is a single servlet that do some database stuff in the doGet and
doPost methods.

After putting data into the database in doPost I want to call the doGet
method, but then I just get the 'Repost form data' if the user reloads
the page.

I 'solved it' by redirecting after zero seconds, but there got to be a
better way. Right?


Stein

___________________________________________________________________________
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