el
<span style="white-space:pre"> </span>session: ${sessionScope.u }
<br>
姓名:${seesionScope.st.name }
<br />
sessionScope范围可以省略:${st.name }
<br />
当省略时自动从pageScope,requestScope,SessionScope,ApplicationScope四个范围寻找,知道找到一个为止
<br />
<!-- 运算 -->
${1+1*4-8%9*99999-20287*2837482748324}
<!-- el关系运算符 -->
==,eq(等于) ${5==5} ${5 eq 5 }
<br>
!=,ne (不等于) ${5!=5} ${5 ne 5 }
<br>
<,lt (小于) ${5<3} ${5 lt 4 }
<br>
>,gt(大于) ${5>4} ${5 gt 6 }
<br>
<=,le(小于等于) ${5<=5} ${5 le 5 }
<br>
<!-- 数组结果 -->
<%
String[] marry = { "nima", "caodan", "shit" };
session.setAttribute("marry", marry);
List list = new ArrayList();
list.add("nima");
list.add("caodan");
list.add("fuck");
session.setAttribute("list", list);
%>
数组:${sessionScope.marry[2] }<br>
<!-- 集合结果 -->
集合:${list[1] }<br>
<!-- request getparamter -->
${param.id }