I see what you think:
1) do common validation stuff (required..)
2) if it pass go to action execute
3) do others validation with BusinessDelegate
4) -> success OR go back with errors: return mapping.getInputForward();

the problem is different.
If validator finds some errors it will go back to input parameter.
In this case i would load a bean from DB and put it on the request.
I.E. "Hey mr. Foo you have those problems: "
i have to fetch Foo bean from db in case of basic error to display a custom
message.
How can i do that?
The only place i've found is on the validate method.

Thnx a lot!




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

Reply via email to