struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tak Yoshida <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message