File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Form validation: how can khow in jsp that my action validation failed?
Joined: Feb 23, 2009
Feb 27, 2009 10:29:59
I need output special info in
if validation failed. How can I do it? ActionSupport has method hasActionErrors. I need smth like that for JSP.
Joined: Sep 29, 2008
Feb 27, 2009 11:29:01
If you're not using the framework's error tags just use an <s:if test="hasActionErrors()"> (or whatever). You can call arbitrary functions via OGNL.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Form validation: how can khow in jsp that my action validation failed?
Displaying error on an Applet
front-end validation in struts jsp page
boolean need_ of_ vbscript_in_jsp()
Struts2: bypass the prepare method?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014