JSTL入门
时间:2014-08-14 03:44:27
收藏:0
阅读:195
在页面最上方引入 <%@taglib url="http://java.sun.com/jsp/jstl/core" prefix="c" %> -------------------- if语句 <% request.setAttr("b", 10); %> b的值大于8 --------------------- foreach语句 <% request.setAttr("arr", new int[]{7,8,9,10}); %> i的值是:${i}
评论(0)