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