title: How to get value from radio button if using jsp scriplet
body: <p>I have a form with radio button and the value is get from database. below is code in my form. btw this form is for survey question.</p>
  
  <pre><code>for(int i=0; i&lt;qlist.size(); i++){
  //question loop
  for(int j=0; j&lt;alist.size(); j++){
  //answer loop
      &lt;input type="radio" name="radio_&lt;%=j%&gt;" value="&lt;%= alist.getAnswerDesc()%&gt;"
      &lt;input type="radio" name="radio_&lt;%=j%&gt;" value="&lt;%= alist.getAnswerDesc()%&gt;"
      }
  }
  </code></pre>
  
  <p>in servlet im using below code to get values of the radio button.</p>
  
  <pre><code>for(int i=0; i&lt;qlist.size(); i++{
     for(int j=0; j&lt;alist.size(); j++{
        String radio = request.getParameter("radio_"+j);
     }
  }
  </code></pre>
  
  <p>But i cant get value. Help me please.
  Thanks.</p>