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 validation for boolean datatype Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validation for boolean datatype" Watch "validation for boolean datatype" New topic
Author

validation for boolean datatype

madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
hi,
in my application..i need to select either 'true' or 'false'..i need is to get validated..but unable to do validation..here is my code

and jsp page is

1) if jsp page is opened and if submit button is pressed then it is asking 'Select any one'
2) if i selected any one value and submit button is pressed..eventhough it is asking 'Select any one' and default it is taking 'False'
can any one help me out..>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validation for boolean datatype
 
Similar Threads
Struts2 Validation - skip validation for certain fields
Struts 2 Integer Validation not working
problem in field validation
Struts 2 Validation
Action class not being called after validation