File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to validate a radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to validate a radio button" Watch "How to validate a radio button" New topic
Author

How to validate a radio button

chingh tangh
Greenhorn

Joined: Apr 06, 2004
Posts: 11
I used the required validation for the radio buttion (by specifying in the validation.xml), but this is not displaying any error message..
This required validation is working for the normal text boxes..
Can't we do validation for the radio buttons in struts. pls clarify.
thanx in advance
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

It works for radio. There's not much to clarify.
What are you doing wrong? Please clarify.


A good workman is known by his tools.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to validate a radio button