Hi Dave, Yes that's what I want. The first action search in database and show the list of Fruits. Then user click on one and that concrete Fruit object is passed to other action for editing.
-- Thx, Milan newton.dave wrote: > > --- On Fri, 6/13/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> I want to read object from database in the first action class >> (i.e. Fruit fruit) to store it into session and then to call >> other action class method for editing of that method, is it possible ? > > Oh, I thought you said you were retrieving a *list* of objects and wanted > to edit a particular one (the one the user clicks on). > > If the object is already in session of course you can retrieve it from the > session in the second action. > > I'm pretty skeptical that we're communicating accurately here, though. > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-Struts-2--Two-action-classes---tp17824236p17826614.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]