praveen moturi wrote:hi iam new to struts2 . iam using Xx-validation.xml while validating the fields are getting validated
but each time a new a message is added for the same field
for example name
message : Enter your name
when i submit the page without giving any value in the name field
this time i will get two error messages
Enter your name
Enter your name
can any please help me
i am using struts2.x with hibernate
my problem is that in the
jsp when i submit again without entering any thing in required field this time two messages
will be displayed like "field require" "field required"
for the third time "field require" "field required" "field required"
validation is working instead of one message the messages are getting piled up