how can I redisplay user input, sinc the values of <input type="checkBox" name="group" value=${grp.groupNo}> is defined at run time? how can I use ${param} here to make comparison with unknown values?
how can I redisplay user input, sinc the values of <input type=checkBox name=group value=${grp.groupNo}>
Share
In case of checkboxes (and radiobuttons) you’d like to set the
checkedattribute.The conditional operator
?:in EL will printcheckedwhen the condition is true. So it will then end up like follows in generated HTML: