You can iterate through the answers to create the <th> tags, and then iterate through the same answers again to create the radio buttons
-----Original Message----- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: Wednesday, October 14, 2009 3:30 PM To: 'Struts Users Mailing List' Subject: Not display value next to radio Hi! I would like to display a question, and next to it radio button option but in a table. In the table header, I will display the 1,2,3 option like this: <table> <tr> <th>1</th> <th>2</th> <th>3</th> </tr> <tr> <td> <s: <s:radio name="answer1" value="1" /></td> </td> <td> <s: <s:radio name="answer1" value="2" /></td> </td> <td> <s: <s:radio name="answer1" value="3" /></td> </td> </tr> But I must enter list!! When I enter values,it displays them next to the radio button. How can I do it? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org