I have a simple
java bean class binded in an ActionForm, which is hooked up with a
jsp page on front side. an input field in jsp page is a property of the bean class. for example, username or password. Now I want to use validator to validate user input. But inside validation.xml file, I don't know how to code the property value in <field> tag. Please see below. Normally the decleration shoud be like this
But since the username is binding in my bean class, so how do I code the property value? I tried followings but none works.
or
Please help. Thank you so much.