Retrieving multiple values from radio buttons
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Adan_Roman
Posted On:   Saturday, April 23, 2005 03:38 AM

I am new in struts and have a problem. I don't know how create dinamic jsp with radio buttons and retrieve results. -answerBean boolean correct; String answerText; and get&sets -questionBean String questionText; Vector answers; <--answerbeans get&sets -generateExamn.jsp I think it must be like But it doesnt run. How can I do to allow select an answer of each question and retrieve an array of all the selected items?    More>>

I am new in struts and have a problem. I don't know how create dinamic jsp with radio buttons and retrieve results.




-answerBean

			

boolean correct;
String answerText;
and get&sets

-questionBean

			

String questionText;
Vector answers; <--answerbeans
get&sets


-generateExamn.jsp
I think it must be like
			










But it doesnt run. How can I do to allow select an answer of each question and retrieve an array of all the selected items?

   <<Less

Re: Retrieving multiple values from radio buttons

Posted By:   Anonymous  
Posted On:   Monday, April 25, 2005 09:37 PM

I'm not sure I understand your question correctly. Since you are using indexed properties, why don't you use nested taglib instead of html?
About | Sitemap | Contact