| 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 <- 여기 가보면 조금더 자세한 예제도 있다
댓글 0
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| 11 | StrutsTest를 이용한 JUnit 테스트방법 | 황제낙엽 | 2006.02.23 | 181 |
| 10 | 스트러츠등의 서블릿 테스트 케이스용 툴 | 황제낙엽 | 2006.02.23 | 146 |
| 9 | ActionForm 생성 | 황제낙엽 | 2006.01.16 | 136 |
| 8 | Struts 에서 FormBean 클래스 Validation 체크 하기 | 황제낙엽 | 2005.12.19 | 125 |
| 7 | Struts의 message-resources 를 사용한 예제 | 황제낙엽 | 2005.12.16 | 115 |
| 6 | Struts의 message-resources 의 사용 | 황제낙엽 | 2005.12.16 | 130 |
| 5 | JpetStore 에서 모든 Bean의 부모클래스 BaseBean (JPetStore-4.0.5) | 황제낙엽 | 2005.11.21 | 187 |
| 4 | JpetStore 에서 Action과 Form을 함께 취급하는 클래스 BeanAction (JPetStore-4.0.5) | 황제낙엽 | 2005.11.21 | 243 |
| 3 | 스트럿츠 자료실 게시판 만들기 목차 | 황제낙엽 | 2005.11.15 | 151 |
| 2 | 스트러츠 관련 FAQ | 황제낙엽 | 2005.10.14 | 108 |
| » | Struts 프로그래밍 메모 | 황제낙엽 | 2005.10.06 | 261 |
