This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes struts2 radio button validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 radio button validation" Watch "struts2 radio button validation" New topic

struts2 radio button validation

Ritesh Badwaik

Joined: Feb 23, 2009
Posts: 16
Hi all,
I tried the validation for radio button as follows but it is not working

<field name="ctlfilename">
<field-validator type="requiredstring">
<message>Select file</message>

Can anyone tell me, how to use required validator or requiredstring validator for radio button ?


I agree. Here's the link:
subject: struts2 radio button validation
It's not a secret anymore!