board是一个list变量名,内保存有多条记录,当board.yn等于'Y'时,前台页面的checkbox控件为选中状态 ,其实现代码 大概是这样:
<input type="checkbox" name="rpl_use_yn" id="rpl_use_yn" <ww:if test="${board.yn=='Y'}"> checked </ww:if> />