title: jstl if : Changing output Value When Click Radio Button
body: <p>here it's the case</p>
  
  <p>so i would like to change the output value when i click radio button 
  and what should i do?</p>
  
  <p>i've done this one</p>
  
  <pre><code> &lt;input type="radio" name="radio" value="CardA" &gt;Card A
   &lt;input type="radio" name="radio" value="CardB"&gt;Card B
  
  &lt;c:choose&gt;
    &lt;c:when test="${radio=='CardA'}"&gt;
      &lt;c:out value="CARD A"&gt;&lt;/c:out&gt;
      &lt;br /&gt;
     &lt;/c:when&gt;
    &lt;c:otherwise&gt;
      &lt;c:out value="CARD B"/&gt;
    &lt;br /&gt;
      &lt;/c:otherwise&gt;
  
     &lt;/c:choose&gt;
  </code></pre>
  
  <p>on that example when i click radio button which have value Card A i want to print c:out value Card A</p>
  
  <p>What Should i do? did i do something wrong?</p>