thanks for reply
what additionaly information is needed sorry i cant understand iam extending action support class for my action class
and validation.xml in which iam validating my form fields
there are some select boxes in which required vlidation is not working but iam trying other way as min length validation for that
my code is as follows
validator.xml
<field name="registrationFormBean.nationalityId">
<field-validator type="int">
<param name="Min">1</param>
<message> Nationality Is Required </message>
</field-validator>
jsp code follows
<s:select name="registrationFormBean.nationalityId"
list="#session.NationalityList"
listKey="nationalityId"
listValue="nationalityName"
headerKey="0"
headerValue="---select---"
label="Ntionality" />
the field nationlityId in the bean is of type int
even though i try to validate the field with required it is not validating thats why iam using min length validator instead of required
on more important thing is
old errors are not clearing up in the jsp ,the message are adding up
can any please explian to solve the issue i might i have missing some thing is there any additional information i need to post for more clarity