Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

prepare and validate....

André Faria

2007-01-11


Hi All,

  In struts 2 if we can have some prefixed methods that can be call
automaticaly following a convertion.
  If we have a method name save,
    the methods prepareSave, prepareDoSave, validateSave and
validateDoSave will be called before the method save...
  Is there some convetion to call a method after the method like
afterSave or afterDoSave?
 
  The annotation @After is interesting but it happens for all methods
not for a single one.

Have a nice Day,
Regards,
Andr? Faria

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.