File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes HOW TO: html:select / DynaValidatorForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HOW TO: html:select / DynaValidatorForm" Watch "HOW TO: html:select / DynaValidatorForm" New topic

HOW TO: html:select / DynaValidatorForm

Castor Castro

Joined: Feb 03, 2008
Posts: 13
Hi Guys,

I would like to ask how to validate values coming from an html:select

I have the validation.xml and etc., configured (working with text boxes already). But don't know how to validate values from html:select.
Also, though not related to my previous question, in a jsp with html:form, properties inside the form (e.g. a textbox) should be defined in struts-config form-bean. Why is this so?

Please give advice.


"A quest to find the best bean in town"
I agree. Here's the link:
subject: HOW TO: html:select / DynaValidatorForm
jQuery in Action, 3rd edition