- <%
- request.setAttribute("likes",new String[]{"sing","dance"});
- %>
- <input type="checkbox" name="likes" value="sing" checked="${fn:contains(fn:join(likse,'@'),'sing')?'checked':'' }">唱歌
- <input type="checkbox" name="likes" value="dance" checked="${fn:contains(fn:join(likse,'@'),'dance')?'checked':''}">跳舞
- <input type="checkbox" name="likes" value="ball" checked="${fn:contains(fn:join(likse,'@'),'ball')?'checked':''}">球类
- <input type="checkbox" name="likes" value="swing" checked="${fn:contains(fn:join(likse,'@'),'swing')?'checked':''}">游泳
复制代码 我这么写哪里写错了,怎么不能实现回写功能?请高手指点!!
|