struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pat Quinn" <pat_quinn2...@hotmail.com>
Subject RE: data transfer from Action class to jsp page
Date Wed, 25 Feb 2004 16:56:41 GMT
You should place it in the request scope if the data is required for the
next view only.... You should avoid placing such objects in the session as
this will remain in memory until the users HttpSession expires. 

-----Original Message-----
From: Pradeep, PK [mailto:pk.pradeep@digital.com] 
Sent: 25 February 2004 16:51
To: Struts Users Mailing List
Subject: RE: data transfer from Action class to jsp page

Sending the same question again..


I have this basic question.....

Suppose action class calls some business object and fetches some data (say
employee detail). How to transfer this data to jsp page which is reached
through ActionForward?

One way I know is storing the data in session object..is there any
better/different way

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message