struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <>
Subject Re: how to access the properties of one action by another action
Date Mon, 18 Feb 2008 10:58:54 GMT
Placing the object in the session is the least effort approach.
Retrieving the objects again is a sensible approach too.
Sometimes sending the object to the client and back again is sensible 
(encoded in some way in a cookie, hidden input or url param)

The scope plugin is intended to simplify this task:

Prashant Khanal wrote:
> Hello all,
> I am fetching a list of objects in one action and i want to use the same
> list of objection when i move to another action from that action. How can i
> do that?
> Actually i use the list of objects to populate the table of a jsp page and
> the i want to access the same list of objects in the action that is
> triggered when the form of that jsp page is submitted.
> Do i have to fetch those objects again or is there any way that i can use
> the same list of objects fetched in earlier action?
> ------------------------------------------------------------------------
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.20.7/1284 - Release Date: 17/02/2008 2:39 PM

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message