Struts2
-
스트럿츠2 Hello World카테고리 없음 2011. 8. 1. 17:06
처음 시작함에 앞서 기본이 되는건 역시 "Hello World" 가 아닐까 한다. Struts2 에서의 액션의 흐름 상태를 파악해 보자. 액션의 순서대로 따라 가보도록 하겠다. 일단 이클립스에서 빌드했을 경우 경로들을 살펴보면 이런 형태 이고 처음에 실행했을 경우 web.xml 을 인식하고 실행 된다. 액션의 이름은 index.action start.jsp 의 내용은 이게 다이다. start.jsp - > web.xml - > web.xml struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* 이부분의 대한 설명을 하자면 이 URL상의 모든 .action 또는 .do 프로퍼티에 정의한 액션의 이름들을 만나면 스트럿츠 필터가 스트럿츠로 실행하..
-
Struts2 개요카테고리 없음 2011. 8. 1. 14:30
Struts 2 Overview WebWorks & Struts Life Cycle Struts 2 만의 장점 Page-based Navigation Built-in Ajax Support: DWR and Dojo Spring as default inversion of control container Changed from front-controller servlet to filter Much better client-side validation support QuickStart and Annotations JSF Support Built-in support for testing with StrutsTestCase Struts 2 Plugins http://struts.apache.org/2.1.8.1/..