The validate() method should be called for any request on that action
unless (a) the request is serviced by an excluded method (where the set
of excluded methods depends on the interceptor stack you are using
and/or an explicit configuration you've specified) or (b) you have
switched the 'allwa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Márcio*,
*thanks for your quick answer. Yes, that will work, you're right.
Unfortunately is is not exactly what i would want. You are doing your
validation in the method that is called.
I would prefer the framework to call *validate()* before (
Hi Volker,
You can do it with struts xml validator:
Include a xml into your action package like this:
ActionName - alias from action - validation.xml
Example:
ActionName-save-validation.xml
* Note that "save" is the name of action in your struts.xml
Nothing better than a real example:
struts
3 matches
Mail list logo