Your jsp has access to your action, in the valuestack. So, you should
be able to ask
Beware: for validation errors,
besides hasActionErrors() you might want to ask hasFieldErrors().
Or use hasErrors() , that includes both
Hernán J. González
http://hjg.com.ar/
On Fri, Feb 27, 2009
I need output special info in JSP if validation failed. How can I do it?
ActionSupport has method hasActionErrors. I need smth like that for JSP.
--
View this message in context:
http://www.nabble.com/Form-validation%3A-how-can-khow-in-jsp-that-my-action-validation-failed--tp22250234p22250234.ht
2 matches
Mail list logo