A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
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
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 Struts Validation
Problem in displaying message using resource bundle for validation framework
Struts Validator not validating on the server-side
problem with action input attribute
Error messages are not being displayed while using validator
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015