struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan M Z <wo_shi_ni_ba...@yahoo.com>
Subject form-bean and persistent data
Date Tue, 08 Mar 2005 01:51:52 GMT
suppose I am using a form-bean to populate an html
form,  I need to retrieve the values of this form-bean
from persistent storage.  Do I do this from the Action
that eventually forwards to this jsp page?
Should I create the form-bean from persistent storage
in action.execute(), then forwards the view to the jsp
page?
for example if the form-bean's name is aBean, in
action.execute I create the aBean, populate it, and
then set it as an attribute into the request(or
whatever scope I see fit)
is this a standard approach for reading data into
form-bean from the persistent data layer?

thanks


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message