struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 梁炳場 <>
Subject ActionErrors inside validate of ValidatorForm?
Date Thu, 25 Aug 2005 07:17:55 GMT
validate() is a function of ValidatorForm

I have written some checking inside validate()
However validate returns ActionErrors.

However can I change it to ActionMessages
so that my checking inside in validate() still valid
when ActionErrors deprecates in the future?


Inside validate(),
The 1st statement is
ActionErrors errors = super.validate(mapping, request);

Can I rewrite it to ActionMessages?

Thank you in advance.

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

View raw message