접속 디바이스 (1) 썸네일형 리스트형 Spring에서 Device별(desktop, mobile, tablet)로 접근 구분하는 방법(spring 3.2.x) 클라이언트 단에서 Device 사용자를 구분할수도 있지만 서버사이드 단에서 페이지를 나눠서 보여줘야 할 경우가 있는 경우 구분을 통해서 페이지별을 보여지게 할수 있다. 1. 먼저 Spring mobile 라이브러리를 받는다.(maven) org.springframework.mobile spring-mobile-device 1.1.0.RELEASE 2. action-servlet.xml에 인터셉터 추가. 3. web.xml에 필터 추가 deviceResolverRequestFilter org.springframework.mobile.device.DeviceResolverRequestFilter 4. Controller에 Divice 구분을 통해 설정 import org.springframework.mobi.. 이전 1 다음