The "Struts way" is to transfer data between pages and actions using an ActionForm object. This holds true for either direction. It is standard practice to transfer this data in an Action Form. Please refrain from putting data into the session as a transfer mechanism. Struts will automagically make the form data available in the page that you call using the reverse of the magic that it used to extract form data from your calling page.
Simon ----------------------------------------------------------------- Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 >-----Original Message----- >From: Miguel Angel Medina Lopez [mailto:[EMAIL PROTECTED]] >Sent: Monday, September 23, 2002 11:48 AM >To: Struts Users Mailing List >Subject: Newbie question about action forms > > >Hi all: > >In the Struts framewok information from the form to the action class is >transfer through an ActionForm, but when I want to transfer >information from >the Action to a new HTML (JSP) page, for example a list of >products, What is >better? Use an action form or directly storing the list in the session >object with a particular key. > >Thanks. > > >-- >To unsubscribe, e-mail: ><mailto:struts-user->[EMAIL PROTECTED]> >For >additional commands, >e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

