getting values from radio buttons in jsps

i am doing online quiz. i have a problem with radio buttons

<input type =radio name="a" value="opone"> x

<input type =radio name="a" value="optwo"> y

<input type =radio name="a" value="opthree"> z

i what to get the values from the radio button

so i have used

request.getParameter("a");

so i am not getting proper output (x or y or z) here

i got what ever i have selected value ie opone or optwo or opthree here but not xor y or z.

can u please help me

[535 byte] By [NANDAa] at [2007-11-26 18:54:08]
# 1
<input type =radio name="a" value="x"> x<input type =radio name="a" value="y"> y<input type =radio name="a" value="z"> zThere you go. The value is what is actually submitted, what you print outside of the radio button is just visible content.
gimbal2a at 2007-7-9 6:28:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...