struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart" <>
Subject Re: prepare action for input after validation errors
Date Mon, 08 Sep 2008 11:22:38 GMT
You can use perpareXXX method per action method as mentioned in docs:

Applies only when action implements Preparable

   1. if the action class have prepare{MethodName}(), it will be invoked
   2. else if the action class have prepareDo(MethodName()}(), it will
be invoked
   3. no matter if 1] or 2] is performed, if alwaysinvokePrepare
property of the interceptor is "true" (which is by default "true"),
prepare() will be invoked.

In other way, you can also develop your own interceptor which will
suite your needs.


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

View raw message