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.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Form validation: how can khow in jsp that my action validation failed?
boolean need_ of_ vbscript_in_jsp()
Struts2: bypass the prepare method?
front-end validation in struts jsp page
Displaying error on an Applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013