You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Oliver Reflé <o....@gmx.de> on 2002/04/11 11:27:52 UTC

RE: Retain data in case of multiple pages

Your problem is that when you call the jsp where you're form is,
struts is creating a form. Per default this form is only in the request.
This means if your target action is finished the form is not available
any more.
What could help is to put the form in the session, but you have to be
aware that this could cause a performance loss if many user work with
your app.

Oliver

-----Original Message-----
From: nradhika@vsnl.net [mailto:nradhika@vsnl.net]
Sent: Thursday, April 11, 2002 11:52 AM
To: struts-user@jakarta.apache.org
Subject: Retain data in case of multiple pages


Hi,
    Can we have multiple forms refering to only one action form ?
e.g Say I have two links. On clicking the first link we enter some data and
submit the page, by clicking on the 2nd link. A new form pops up, so I enter
the new data and click the first link , so now wat isee is that the data of
the first link is cleared. How to retain the data ???

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>