I'm having problems using radio buttons on my jsp. One would expect it
to be very straight forward, and it is as long as I have just one group
of radio buttons (i.e. the same property). But for some reason, as soon
as I introduce another 'group' of radio buttons, it chokes at that tag.
Has anybody ever had any similar experience with radio tags? What
possibly am I doing wrong?
This is what I have:

[...in JSP...]
<tr>
          <td width="197" valign="top">
            <div align="left">Member Type:</div>
          </td>
          <td width="442" valign="top">
            <p>
            <html:radio name="memberDetailsForm" property="type"
value="MEMBER"/> Member <br>
            <html:radio name="memberDetailsForm" property="type"
value="GUEST"/>Guest<br>
            </p>
          </td>
</tr>
 <tr>
          <td width="197" valign="top">
            <div align="left">Web Enabled:</div>
          </td>
          <td width="442" valign="top">
            <p>
            <html:radio name="memberDetailsForm" property="web"
value="YES"/> Yes <br>
            <html:radio name="memberDetailsForm" property="web"
value="NO"/>No <br>
            </p>
          </td>
 </tr>
[...]
[...In memberDetailsForm]

private String type; //with setters and getters
private String web;

Reply via email to