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 used validations in Struts 2 using <validators> im facing problem with the 'Integer' type value here is the code
if i run the application..
1) if i leave 'Width' textbox empty it is showing 'Width is required' it is working fine
2) if i enter string values i.e., 'abc' is should not take and populate the error as 'Width is number'...but im getting as 'Width is required'
Can any one help me out...in this