2015년 2월 2일 월요일

jstl > jsp

<c:set var="myTest" value="testValue"/>
<!--<c:out value="${myTest}" /> -->
<%=pageContext.getAttribute("myTest") %>

<c:set var="anotherTest" value="anotherValue" scope="request"/>
<!--<c:out value="${anotherTest}" />-->
<%=request.getAttribute("anotherTest") %>

댓글 없음:

댓글 쓰기