Try something like <input type=button onclick="history.back()"> to go back
to the last page with the old values written the input fields.

michael weller

> Hi everybody,
>
>     I have a doubt regarding passing of values from servlet program.
>
> My doubt is:
>
> I have form with 2 text fields for Username and Firstname. When i enter
the
> values and i submit , it will check with the database for username in the
> server whether username is there or not. If it not there both the values
> must insert otherwise it should say some message that "username is already
> in use" and there one button called "Goback" is there.
>
> Upto this i have done it is working fine. But if i press GoBack button it
> goes the previous page(i used response.sendRedirect(path)
> But if i go that page , the values of first name is not retained.
>
> So i need the value to be retained---this how to be done?
>
> Help me in this !! Urgent!!!
>
> Thanks,
> saravanan.s

___________________________________________________________________________
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