JSTL入门
在页面最上方引入 <%@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}
--------------------------
签名:热爱编程的菜鸟,总是编不好~

浙公网安备 33010602011771号