프로그래밍/Framework
[Struts2] 팁: Action에서 멤버변수로 jsp에 넘긴 값도 request.getAttribute()로 받을 수 있다.
galad
2009. 4. 8. 13:22
Action에서 멤버변수로 jsp에 넘긴 값도 request.getAttribute()로 받을 수 있다.
제목그대로...
<%= request.getAttribute("command") %>
이걸 하든
<s:property value="%{command}"/>
이걸 하든
값이 나오더라....
제목그대로...
<%= request.getAttribute("command") %>
이걸 하든
<s:property value="%{command}"/>
이걸 하든
값이 나오더라....