Dimitris Mouchritsas wrote:
Hi all,
We use Struts 1.2.4 in our application and I'd like to refactor some code to use ActionMessage(s) instead of ActionError(s). Can somebody show me a solid example (or point me to an article) on how to do it?

Also, when I tried before to completely remove ActionErrors, the action was complaining that the validate method is required
to return ActionErrors and not ActionMessages. Any workaround?
Thanks
Dimitris

You can't replace ActionErrors with ActionMessages, they represent different things. Perhaps you were thinking of ActionError and ActionMessage (singular form rather than plural).

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to