1. pom.xml 파일 추가
<!-- getJSONja add -->
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.6</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.9.6</version>
</dependency>
2. context-common.xml 파일 추가
<!-- Ajax Json View Start -->
<bean id="ajaxMainView" class="org.springframework.web.servlet.view.json.MappingJacksonJsonView" />
<!-- Ajax Json View End -->
'나 어제 배웠다 > 전자정부프레임워크' 카테고리의 다른 글
프로젝트 커스터마이징 내역 (0) | 2017.03.23 |
---|---|
키사용 유형분류 (0) | 2015.06.16 |
PID 추출 (0) | 2014.07.30 |
신규 패키지(Package) 추가 방법 (0) | 2013.10.01 |
[egovframe]전자정부 표준프레임워크 - 개발환경 프로그램 Download (0) | 2012.09.01 |