struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy.de" <a.schm...@best-blu.de>
Subject Init of forms
Date Tue, 26 Sep 2006 12:10:38 GMT

Hi folks,
i init my form beans at reset(...) of ActionForm from database but i think
this is not correct because
if an error occurs i have no chance to forward to an error page or to save
ActionErrors. I think the
controller must read objects from database and init the form.
All samples are very simple and only with forms for new objects (name="";
street=""; at reset()).
Where is te correct place to init forms from database if i want edit an
existing object and which method must i call????
I'm using Struts 1.2.9

Regads, Andy
-- 
View this message in context: http://www.nabble.com/Init-of-forms-tf2337990.html#a6505529
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message