The way I've done it is either to put the values on to the session object on
the onload page
e.g.
String Mystring=request.getParameter(name of input type from previous
page);
session.putValue("Myname", MyString);
or the other way was using some form of javascript:history.back().
The other part I forgot to mention is that I updated the form data when
hitting each tab.
This was done by having linking them all to the same onlading update page
but using JScript onclick to set a hidden value which is embedded in the
onload link allowing each tab to send to a different place from one page, if
that makes any sense!
good luck
Joe
----- Original Message -----
From: Visweshwar Ghanakota <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 17, 2000 5:31 AM
Subject: retaining data between multiple clicks
> > Hi,
> > Scenario:
> > I have different tab pages,each having several input fields.User can
fill
> > any fields,goto other links and can come back.
> > Problem:
> > How do I show the previous modifications to an input field when the user
> > comes back to the page?
> > Notes:
> > This is something like a wizard,with the difference that user can goto
any
> > link,i.e. no "previous","next"
> > Possible solutions:
> > Save the state of the page to a bean, "onUnload" of page.But how do I
get
> > the value of a field in JSP? something like javascript's
> > "form.field.value".
> >
> >
> >
> > Thanks,
> > vishu
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets