HTTPSESSION

Category
아이템: 
포스트 갯수1

Spring에서 WebSocket 사용시 HttpSession에 저장된 값 사용하기

By 블루링의 아름다운 신세계! | 2017년 3월 30일 | 
Spring에서 WebSocket 사용시 HttpSession에 저장된 값 사용하기 Spring4에서 WebSocket를 사용할 때는 아래와 같이 maven dependency를 추가해줌 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-websocket</artifactId> <version>4.0.9.RELEASE</version></dependency> servlet-context.xml에서 websocket:handlers 태그에 websocket:mapping 아래 websocket:handshake-interceptors에Htt