i have two radio boxes in a jsp using html and i want to make one checked based on a condition. I can do that in php but i don't know how to do that using jsp. Can anyone help me.
out.println("<tr><td>Billing Model");
out.print("<tr><td><input type='radio' name='appStatusDescription'value='0' >Prepaid<br>");
out.print("' </td>");
out.print("<td><input type='radio' name='appStatusDescription'value='1'>Postpaid<br>");
out.print("' </td></tr>");
These are the two radio buttons and based on the return value of this i want either one of them checked
if((app.getBillingModel)==0)