showing radio button using struts help

would like to display something like

ConfirmradioButton Yes

radioButtonNo

how to do this?

I tried but getting like

Confirm

radioButton

radioButton

tr>

<td>

<bean:message key="lbl.confirm"/> <bean:message key="question"/>

</td>

<td>

<tr>

<td>

<html:radio name="Form1" property="confirm" value="true" title="Yes"/>

</td>

</tr>

<tr>

<td>

<html:radio name="Form1" property="confirm" value="false" title="No"/>

</td>

</tr>

</td>

<td></td>

</tr>

Thanks.

[728 byte] By [Rxyza] at [2007-10-2 5:30:35]
# 1

Just put the text where you want it.

<tr>

<td>

<bean:message key="lbl.confirm"/> <bean:message key="question"/>

</td>

<td>

<tr>

<td>

<html:radio name="Form1" property="confirm" value="true" title="Yes"/> Yes

</td>

</tr>

<tr>

<td>

<html:radio name="Form1" property="confirm" value="false" title="No"/> No

</td>

</tr>

</td>

<td></td>

</tr>

evnafetsa at 2007-7-16 1:41:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks. that worked.How about showing Confirmfirst column Yes, No in second column. how to do this?Confirm yes NoThanks.
Rxyza at 2007-7-16 1:41:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...