You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frank Schaare <lo...@gmx.de> on 2004/03/24 21:34:34 UTC
Submit Once, Validate Twice -- but how ?
Hi,
just read this article on husted.com and it seems to be good advice.
When the user submits a page, passes validation without errors, is there
a chance to validate business logic in the action ?
Therefor i need to
- make my validation,
- get an errors object,
- store the error,
- put the errors object in the request and
- return to input page.
Has anyone some sample code / suggestions / articles / sources hoe to
achieve this ?
Thx....
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org