Anyframe Struts Plugin

Version 1.0.2

본 문서의 저작권은 삼성SDS에 있으며 Anyframe 오픈소스 커뮤니티 활동의 목적하에서 자유로운 이용이 가능합니다. 본 문서를 복제, 배포할 경우에는 저작권자를 명시하여 주시기 바라며 본 문서를 변경하실 경우에는 원문과 변경된 내용을 표시하여 주시기 바랍니다. 원문과 변경된 문서에 대한 상업적 용도의 활용은 허용되지 않습니다. 본 문서에 오류가 있다고 판단될 경우 이슈로 등록해 주시면 적절한 조치를 취하도록 하겠습니다.


I. Introduction
II. Struts
1. Architecture
1.1. Controller Structure
1.2. Request의 흐름
2. Configuration
2.1. web.xml
2.1.1. servlet, servlet-mapping 설정
2.1.2. taglib 설정
2.2. struts-config.xml
2.2.1. controller
2.2.2. message-resources
2.2.3. plug-in
2.2.4. form-beans
2.2.5. action-mappings
2.2.6. global-forwards
3. Controller
3.1. ActionServlet
3.1.1. ActionServlet의 역할
3.1.2. 초기화 프로세스
3.1.3. 실행 시(ActionServlet 인스턴스가 HTTP Request를 받을 때)
3.1.4. ShutDown 프로세스
3.2. RequestProcessor
3.2.1. RequestProcessor의 역할
3.2.2. process() 메소드의 Request 처리 절차
3.2.3. Sample
3.3. Action
3.3.1. Action의 역할
3.3.2. Action의 구현
3.3.3. Sample
3.4. ActionForward
3.4.1. ActionForward의 역할
3.5. Actions Package
3.5.1. org.apache.struts.actions 패키지에 미리 정의되어 있는 Action
3.5.2. org.apache.struts.actions.ForwardAction
3.5.3. org.apache.struts.actions.IncludeAction
3.5.4. org.apache.struts.actions.DispatchAction
3.5.5. org.apache.struts.actions.LookupDispatchAction
3.5.6. org.apache.struts.actions.SwitchAction
4. View
4.1. Taglib
4.1.1. Taglib의 특징
4.1.2. Struts Taglib
4.1.3. JSP Standard Tag Library
4.1.4. 기타 Taglib
4.2. Tiles
4.2.1. Page Layout 구성 방법
4.2.2. Tiles 설치
4.2.3. Tiles 사용
4.2.4. Tiles Layout 정의
5. Internationalization
5.1. Internationalization의 특징
5.1.1. Internationalization의 필요성
5.1.2. 지역 (Locale)
5.2. Internationalization Sample
5.2.1. Sample
6. Validator
6.1. Plug-in 등록
6.1.1. struts-config.xml에 plug-in 등록
6.1.2. Samples
6.2. Validator Rules
6.2.1. Struts Validator Rules 기본 기능
6.3. ActionForm
6.3.1. ValidatorForm의 상속
6.3.2. Samples
6.4. formset 설정
6.4.1. formset 설정 방법
6.4.2. Sample
6.5. Action 매핑 설정
6.5.1. struts-config.xml의 Action 매핑 설정
6.5.2. Sample
7. Exception Handling
7.1. Global Level Exception Handling
7.1.1. Global Level Exception Handling의 특징
7.1.2. Samples
7.2. Action Level Exception Handling
7.2.1. Action Level Exception Handling의 특징
7.2.2. Samples
III. Struts Extensions
8. Controller
8.1. DefaultActionServlet
8.2. DefaultRequestProcessor
8.2.1. DefaultRequestProcessor 기능
8.3. AbstractActionSupport
8.3.1. Action Sample
8.4. DefaultDispathActionSupport
8.4.1. Action Sample
8.5. DefaultForwardAction
8.6. AnyframeMiPAction
8.6.1. Sample Action
9. View
9.1. Tag library
9.1.1. Page Navigator Tag
10. Preventing Double Form Submission
10.1. Double Submit의 개념
10.2. 일반적인 Token 처리
10.3. 선언적인 Token 처리
10.3.1. Samples
10.3.2. 참고 사항
11. Exception Handling
11.1. 선언적인 Exception Handling
11.1.1. Samples
11.2. DefaultBaseExceptionHandler 확장
12. Authentication and Authorization
12.1. Authentication
12.1.1. Samples
12.2. Authorization
12.2.1. 접근 권한 제어 프로세스
12.2.2. Samples
13. Spring Integration
13.1. Configuration
13.1.1. ContextLoaderListener, ContextConfigLocation 정의
13.2. Action