struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: RE: Have you ever used InputConfig annotation?
Date Tue, 09 Nov 2010 01:21:30 GMT
On Mon, Nov 8, 2010 at 5:58 PM, Alfredo Manuel Osorio Martinez wrote:
>> you can trivially avoid unnecessary prepare calls.
> How can I avoid unnecessary prepare calls? I mean how can I avoid the
> prepare method won't be called if there are not validation errors.

>> De: Dave Newton [mailto:davelnewton@gmail.com]
>> Enviado el: Monday, November 08, 2010 10:47 AM
>> Don't submit to the same action. Or use prepare{methodName}. Or take
>> advantage of it being a MethodFilterInterceptor and configure it to
>> run only for the methods you want. Or extend it to default to your
>> desired application-specific behavior. Or...

Dave

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


Mime
View raw message