jstl和jsp脚本变量相互访问

1.jsp脚本访问jstl标准动做的变量,能够经过隐式的范围变量来获取,对于页面做用域的变量,能够经过pageContext.getAttribute()来获取,也能够经过动做来获取:html   <c:set var="str" value="This is a JSTL page variable" scope="page"/> <%     String aStr =(String)page
相关文章
相关标签/搜索