태그>struts2(총 36개의 글)
'struts2' 관련 최근글
-
- Struts2 Architecture
-
어린왕자와 여우 by 어린왕자|2012/12/26 13:17
From a high level, Struts2 is a pull-MVC (or MVC2) framework. The Model-View-Controller pattern in Struts2 is realized with following five core components:ActionsInterceptorsV..
- Struts2 Architecture
-
- [struts2] struts2 helloworld
-
어린왕자와 여우 by 어린왕자|2012/12/26 10:50
1. JDK 설치 2. Apache Tomcat 설치 #1, #2의 윈도우 설치는 쉬우므로 생략하고, 리눅스에서 설치하는 방법은 아래의 글을 참고 바란다. centos에서 jdk, tomcat 설치 freebsd에 jdk, tomcat 설치 3. Eclipse 설치 eclipse 설치와 svn연동 4. Struts2 다운로드 ..
- [struts2] struts2 helloworld
-
- SpringTestAction.java
-
작은입맞춤 by 작은입맞춤|2012/03/26 17:33
package springtest.action; import org.springframework.context.ApplicationContext;import org.springframework.context.support.ClassPathXmlApplicationContext; import springtest.service.TestService; public class SpringTestAct..
- SpringTestAction.java
-
- struts.properties
-
작은입맞춤 by 작은입맞춤|2012/03/26 16:56
struts.i18n.reload=truestruts.devMode=truestruts.configuration.xml.reload=truestruts.custom.i18n.resources=globalMessagesstruts.serve.static=truestruts.serve.static.browserCache=falsestruts.action.extension=dostru..
- struts.properties
-
- [struts2]There is no Action mapped for namespace / and actio..
-
스켈레통 by 스켈레통|2011/08/16 15:20
2011. 8. 16 오후 3:15:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn 경고: Could not find action or result There is no Action mapped for namespace / and action name printString. - [unknown location] at com..
- [struts2]There is no Action mapped for namespace / and actio..
-
- Eclipse갈릴레오 + tomcat5.5 + struts2.2.3 설치하기
-
스켈레통 by 스켈레통|2011/08/16 11:16
1. tomcat 5.5를 다운받아 압축을 푼다.2. struts2를 다운받아 압출을 푼다.3. 이클립스에서 프로젝트를 만든다.4. struts-2.2.3-allstruts-2.2.3lib 폴더에서 아래의 파일들을 복사한다. commons-fileupload-1.2.2.jar commons-io-2.0.1.jar commons-lang-2.5.ja..
- Eclipse갈릴레오 + tomcat5.5 + struts2.2.3 설치하기
-
- [Struts2 + Spring3 + iBATIS] 초간단 예제 Step8
-
김학수 by 김학수|2011/03/19 19:13
1. /WEB-INF/src/hsouhy/ibatis/MySqlMapClient.java 이 클래스의 getSqlMapper() 메서드를 통해서 각 DAO 클래스들이 DB에 접근 할 수 있다. getSqlMapper() 메서드는 접근성을 용이하게 하기위해 static으로 선언되어 있으며, Singleton 으로 작성 되었다...
- [Struts2 + Spring3 + iBATIS] 초간단 예제 Step8
-
- [Struts2 + Spring3 + iBATIS] 초간단 예제 Step7
-
김학수 by 김학수|2011/03/19 19:06
6단계 까지의 작업을 완료한 후 hsouhy.user.dao.UserDAO 클래스의 createUser 메서드에iBATIS를 연동한 DB Acess 기능을 추가한다. 1. iBATIS 라이브러리 추가 /WEB-INF/lib/ibatis-2.x.jar 2. /WEB-INF/classes/SqlMapConfig.xml 이 곳에서는 DB의 기..
- [Struts2 + Spring3 + iBATIS] 초간단 예제 Step7
-
- [Struts2 + Spring3] 초간단 예제 Step6
-
김학수 by 김학수|2011/03/19 12:30
실행
- [Struts2 + Spring3] 초간단 예제 Step6
-
- [struts2] XML데이터 가져오는 Unmarshal기능
-
제르님의 (재미라곤 눈꼽만치도 찾아보기힘든) 이글루 by 제르|2011/03/14 18:17
try { JAXBContext jc = JAXBContext.newInstance("com.skt.vp.rs.marshal"); Unmarshaller u = jc.createUnmarshaller(); ByteArrayInputStream in = new ByteArrayInputStream(sb.toString().getBytes()); com.sk..
- [struts2] XML데이터 가져오는 Unmarshal기능
-
- Struts2 주요 인터셉터들
-
김학수 by 김학수|2011/03/12 15:47
Struts2에서 기본적으로 제공하는 인터셉터들로 struts-default.xml에 모두 선언되어 있다. 1. : 웹 페이지의 모든 파라미터 값들이 자동으로 액션의 프로퍼티 값으로 세팅 된다. 따라서 액션의 프로퍼티 setter의 이름과 웹 페이지의 파라미터 명이 서로 일치 해야 한다. 2. - par..
- Struts2 주요 인터셉터들
-
- Struts2 namespace 맞추는 법
-
김학수 by 김학수|2011/03/12 14:06
처음엔 namespace가 구체적으로 어떤 역할을 해주는지 몰랐다. 책에서도 그에대한 설명이 없었고. 몇번 예제를 만들어서 테스트 해보니 명확히 알겠다. 예: C:Tomcatwebappsstruts2가 struts2 WebApplication의 Context 폴더임 - jsp 파일의 위치 - %TOMCAT_HOM..
- Struts2 namespace 맞추는 법
-
- [struts2] response된 데이터를 marshal을 이용해 웹페이지 표현
-
제르님의 (재미라곤 눈꼽만치도 찾아보기힘든) 이글루 by 제르|2011/03/03 10:41
JAXBContext context; try { context = JAXBContext.newInstance("marshal"); Marshaller m = context.createMarshaller();// m.marshal(response, new FileOutputStream("acceess.xml")); HttpServletRe..
- [struts2] response된 데이터를 marshal을 이용해 웹페이지 표현
-
- 이클립스에서 메이븐을 이용한 웹프로젝트 생성 ..
-
지원 a.k.a shoutrock by 지원|2010/09/09 16:07
Maven web 프로젝트 생성하기 1. New > Other 메뉴를 선택하면 아래와 같은 대화상자가나타나고 입력란에 maven 이라고 입력하면 많은 항목들 중에maven 관련된 항목들만 정렬되어 나타난다. 여기..
- 이클립스에서 메이븐을 이용한 웹프로젝트 생성 ..
-
- New Showcase for the jqGrid feature in Struts2 jQuery Plugin is av..
-
Am I a developer? by 꼼셩꼼셩|2010/08/05 17:19
Struts2와 Hibernate를 통해 jqGrid를 활용한 예 - original article New Showcase for the jqGrid feature in Struts2 jQuery Plugin is available * URL: The Showcase is provided with the Full Hibernate Plugin for Struts2 and shows how easy it is to cr..
- New Showcase for the jqGrid feature in Struts2 jQuery Plugin is av..