struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tak Yoshida <takyosh...@optonline.net>
Subject Re: Pre-populating a form from a database
Date Fri, 03 Dec 2004 03:00:59 GMT
Carlos Cajina wrote in <BAY18-DAV15BB638F2155BAC41295B6C7B00@phx.gbl>
>One of the solutions I've implemented is to create an intermediate action 
>that loads data from a database, populates de ActionForm, and directs the 
>user to the apropiate JSP.

This could be a better option,
which has the consistent prepare method invocation.
Also you can completely separate the logic to proces request, and the logic to prepare.
No intermidiate action mapping is necessary. for pre-population even for validatin failure.
http://sourceforge.net/project/showfiles.php?group_id=111296&package_id=120334

Tak


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


Mime
View raw message