Image

Imagezewrestler wrote in Imagejava_dev 😯confused

One more question

I don't mean to ask like 20-thousand questions tonight.  also, forgive me in advance if this is a noob question.



In regards to my last question about tomcat not working, i have managed
to borrow a different pc for the remainder of my project.  i will
look into getting it working on a different date.



anyway, i'm still programming in jsp. I have a survey program that I am
writting and between 12 questions, there will always be the same 2
options as answers. (something along the lines of true and
false)   the options for the answer are written directly into
the code using html. the following segment is the code for it.



<li style="background-color: rgb(155, 205, 100);"> Is this question true or false?<br>

    &nbsp;&nbsp;&nbsp;&nbsp; <input name = "choice" type = "radio" value = "1">True

   
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input
name = "choice" type = "radio" value = "2">False


</li></ol>

<input type="submit" value="Submit survey"> 




Since my survey asks one question a page, how can i take the result
submitted in the previous radio button code and put it in some sort of
bean or string that i can manipulate.