标签:tab -- attr san containe cal name pad microsoft
获取用户数据 |
<%=request.getParameter("uname")%> ${param.uname} localhost:8080/EL/el.jsp?fav=0&fav=1&fav=2 ${paramValues.fav[0]} |
获取作用域中的数据 |
<%=request.getAttribute("s")%> ${s} <%=((User)request.getAttribute("u")).getAddr().getTown()%> ${u.addr.town} |
获取集合中的数据 |
<%=((ArrayList)request.getAttribute("list")).get(2) %> ${list[2]} <%=((User)((ArrayList)request.getAttribute("list")).get(3)).getAddr().getTown()%> ${list[3].addr.town} <%=((HashMap)request.getAttribute("hs")).get("a3")%> ${hs.a3} 或 ${hs["a3"]} <%=((User)((HashMap)request.getAttribute("hs")).get("u")).getAddr().getTown()%> ${hs.u.addr.town} |
标签:tab -- attr san containe cal name pad microsoft
原文地址:http://www.cnblogs.com/haozhengfei/p/6537822.html