Register / Login
Win a copy of
Design for the Mind
this week in the
displaying errors by using struts validation framework
posted 8 years ago
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,
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