title: JSP: simple IF condition not working
body: <p>I am new on JSP. My  simple if condition is not working properly.</p>
  
  <pre><code>//row.getString("labels.above") is taken from database its value is "true"
  
  &lt; input type="radio" &lt;% if(row.getString("labels.above")=="true"){ %&gt;&lt;%="checked" %&gt;&lt;% } %&gt; /&gt;True 
  </code></pre>
  
  <p>but it is not marking check on radio button.</p>
  
  <p>this condition must be true. as<br>
  this:</p>
  
  <pre><code> &lt;%=row.getString("labels.above")%&gt;:&lt;%="true" %&gt;  
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>true:true
  </code></pre>