A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
displaying errors by using struts validation framework
Joined: Jul 11, 2007
Feb 18, 2008 22:15:00
I has small issue in displaying the error messages.
I am using
I have a jsp which consists of two text fields which are mandatory. I need to check whether the text is entered or not and display the error
for that text boxs individually.
In validation.xml, i wrote the filed as "required".
In jsp, i wrote <html:errors property="resourceskey"/> ,even the validation fails also the msg is not displayed.
But when i uses, <html:errors/> then all msg are shown.
But what i want to show thw error msg individually at text boxes.
Kindly can any one help regarding this..
Thanks and Regards,
I agree. Here's the link:
subject: displaying errors by using struts validation framework
Problem in displaying message using resource bundle for validation framework
Error messages are not being displayed while using validator
problem in Struts Validation
problem with action input attribute
Struts Validator not validating on the server-side
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014