Hello all,how can i validate the selection list in struts using validation.xml file.
I have the list populated in the following manner:
{code}<html:select property=...>
<html

ption value="">Select your gender</html

ption>
<html

ptions collection property=.....>
</html:select>{code}
If the user submits the page without selecting any options the default:"Select your gender" without any value will be posted and the validation should validate this and generate some error message on the same page.