sitelink1 | |
---|---|
sitelink2 | |
extra_vars5 | |
extra_vars6 |
<bean:define id="value" name="sampleBean" property="name" toScope="page"/> ------------------->
<%
Object value = sampleBean.getName(); // scope는 page내에서 객체를 찾는다.
%>
라는 뜻...
또하나
<bean:define id="size" name="MailForm" property="documentList.recordSize"/> -------------------->
<%
Object size= MailForm.documentList().recordSize(); // scope는 default (page -> request -> session -> application)
%>
http://j2ee.masslight.com/Chapter4.html#creatingbeans <- 여기 가보면 조금더 자세한 예제도 있다
<%
Object value = sampleBean.getName(); // scope는 page내에서 객체를 찾는다.
%>
라는 뜻...
또하나
<bean:define id="size" name="MailForm" property="documentList.recordSize"/> -------------------->
<%
Object size= MailForm.documentList().recordSize(); // scope는 default (page -> request -> session -> application)
%>
http://j2ee.masslight.com/Chapter4.html#creatingbeans <- 여기 가보면 조금더 자세한 예제도 있다