1. 문제상황 A웹사이트랑 B웹사이트랑 동시에 켜놓음 A웹사이트 주소 test.iptime.org:8200 B웹사이트 주소 test.iptime.org:8800 A사이트에서 로그인관련 인터셉터가 작동중인상황 B웹사이트에서 로그인 로그인 후 다른 페이지를 클릭 바로 세션이 날아가 로그아웃됨 2.원인 톰캣은 세션관리를 JSESSIONID라는 쿠키로 관리를 한다 생략시 Default 값이 'JSESSIONID'로 설정됨 확인은 톰캣 server.xml 에서 context 태그내에 sessionCookieName속성값으로 확인가능 쿠키는 포트를 구분하지 않고 특정 도메인에서 생성되어 해당 도메인에만 사용된다 따라서 동일한 도메인 동일한 세션아이디로 인해 충돌이 발생했던것 만약 두 프로젝트모두 sessionCoo..
출처 - http://tomcat.apache.org/whichversion.html Servlet JSP EL WebSocket JASPIC Apache Tomcat Java 4.0 2.3 3.0 1.1 1.1 9.0.x 8 and later 3.1 2.3 3.0 1.1 1.1 8.5.x 7 and later 3.1 2.3 3.0 1.1 N/A 8.0.x (superseded) 7 and later 3.0 2.2 2.2 1.1 N/A 7.0.x 6 and later (7 and later for WebSocket) 2.5 2.1 2.1 N/A N/A 6.0.x (archived) 5 and later 2.4 2.0 N/A N/A N/A 5.5.x (archived) 1.4 and later 2.3 1...
spring 3.1 버전은 exclude mapping path 기능이 없어서 인터셉터에서 직접 제외시킬 링크를 등록시켜줘야한다 1. egov-com-servlet.xml 인터셉터등록 보통 src/main/webapp/WEB-INF/config/egovframework/springmvc 아래에 위 2.서비스단에서 interceptor.java 생성 public class LoginInterceptor extends HandlerInterceptorAdapter { private static final String LOGIN = "login"; private static final Logger logger = LoggerFactory.getLogger(LoginInterceptor.class); @Reso..
jsp 에서는 아래와같이 작성해주고 3d 모델파일은 블랜더에서 glb파일로 export 하였다 three.min.js 안에서도 경로를 맞게 변경해줘야함 분명 jsp에서 경로 똑바르게 써줬는데도 크롬 콘솔로 확인해보니 계속 not found 에러가 남 확인해보니 three.min.js를 사용하는 다른 모듈에서 three.min.js import를 하는 과정에서 경로들이 다 맞지 않는거였음 예를들면 OrbitControls.js 에서 import 하는 부분 코드를 보자 import { EventDispatcher, MOUSE, Quaternion, Spherical, TOUCH, Vector2, Vector3, Plane, Ray, MathUtils } from '../../../build/three.mod..