Hi Chris, Make sure you have getFlag() and setFlag() methods in your User bean. The error says that it can't find the getFlag() method. In the example you gave for property="name", I'm sure you have getName() and setName methods in your User bean.
Hope this helps, Lucas >>-----Original Message----- >>From: Christopher Book [mailto:[EMAIL PROTECTED]] >>Sent: Friday, November 30, 2001 11:36 AM >>To: '[EMAIL PROTECTED]' >>Subject: html:radio problems >> >> >>Hi, >> >>I'm having a problem using the html:radio tag using another bean. >> >>For my text fields, I define an object bean called "User" and set >>the value >>using: >><html:text name="User" property="name"/> >> >>This sets the value of the text field to whatever the getName() >>method of my >>form returns. >> >>When I try to do the same thing with my radio buttons: >><html:radio name="User" property="flag" value="TRUE"/> true >><html:radio name="User" property="flag" value="FALSE"/> false >> >>I get the following exception: >>javax.servlet.ServletException: No getter method available for >>property flag >>for bean under name User >> >>I can use text boxes, selects, and textareas using this method >>and they all >>work properly, so why does this not work with radio buttons? >> >>Chris Book >> >>-- >>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>