struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: data transfer from Action class to jsp page
Date Wed, 25 Feb 2004 17:23:23 GMT
Quoting "Pradeep, PK" <pk.pradeep@digital.com>:

> 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
> 

If you only need the information to prepare the next response, that is exactly
what request scope attributes are for.

Craig


---------------------------------------------------------------------
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