728x90 반응형 Application2 [Jsp] 12. application (application.getMajorVersion(), application.getMinorVersion(), application.getServerInfo(), application.getRealPath("/"), application.setAttribute, session.setAttribute, application.getAttribute, session.getAttribute) application 객체는 웹어플리케이션 당 한개의 객체가 제공됩니다. 현재 웹어플리케이션 jsp1 프로젝트의 모든 jsp는 하나의 appication 객체를 공유합니다. jsp버전 . 웹컨테이너 정보(was 서버 정보) 웹어플리케이션 경로 2022. 4. 6. [Jsp] 10. psgeContext 객체 (page, request, session, application, setAttribute, Object getAttribute, removeAttribute) psgeContext 객체 : 현재 페이지의 자원을 관리하는 객체 : page 영역을 담당 request 객체와 pageContext.getRequest()가 리턴한 객체는 같은 객체임 request 객체와 pageContext.getResponse()가 리턴한 객체는 같은 객체임 request 객체와 pageContext.getSession()가 리턴한 객체는 같은 객체임 request 객체와 pageContext.getServletContext()가 리턴한 객체는 같은 객체임 영역담당 객체는 속성 관련 메서드를 멤버로 가진다. 1. page 영역 : pageContext 객체 2. request 영역 : request 객체 3. session 영역 : session 객체 4. application 영.. 2022. 4. 6. 이전 1 다음 728x90 반응형