Hello Kiet,

Friday, June 15, 2001, 4:41:22 PM, you wrote:

KN> I think action classes should allow a method(preloadPerform) definition.
KN> This method would be called prior to the form being load.  This way we can
KN> initialize form values and do pre-process stuff.  Currently I have a link to
KN> "doSomething.do" which execute a corresponding DoSomethingAction class; the
KN> action will then redirect to actual page.  I populate the form and do some
KN> business processing in the doSomethingAction class.  Is this how it is
KN> intended to work.

KN> kiet

There is already such method in ActionServlet -
 processPreprocess

It is called before ActionForm creation and filling. In ActionServlet
it is empty - you can override it without any problems.

-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to