File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!