Check the type for it.
Java.lang.Boolean
It should work.

Warm regards
Amit

-----Original Message-----
From: jacob skariah [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 21, 2004 12:04 PM
To: [EMAIL PROTECTED]
Subject: Unable to set the radio butons value using form beans

Hi ,

Can any body tell me how to retrive and set the value
for the radio buttons.Using the form Beans.

what i am doing now is if i want to display the values
o the jsp page. I fetch the data from database
manually populate the form bean and send it to the jsp
page. and all the feilds are populated except the
radio button.

Say we have a gender feild with two radio buttons male
and female. i have set as property="gender"
value=<%=formBean.getGender()%>

but it not working out. I think i am doing something
wrong.Pls help me out

Regards

manoj





                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to