본문 바로가기

PROGRAMMING

(3)
Web Server and Web Application Server Web Server 웹서버는 클라이언트/서버 모델과 웹의 HTTP를 사용하여 웹 페이지가 들어 있는 파일을 사용자들에게 제공하는 프로그램이다. 웹사이트가 운영되고 있는 인터넷상의 모든 컴퓨터들에는 모두 웹서버 프로그램이 설치되어 있다. 가장 보편적인 웹서버들로는 32 비트 윈도우와 유닉스 기반의 운영체계에서 모두 쓸 수 있는 아파치와, 윈도우 NT에 딸려 나오는 IIS, 그리고 넷스케이프의 엔터프라이즈 서버 등이 있다. 그밖에 네트웨어 운영체계를 쓰는 사용자들을 위한 노벨의 웹서버, 주로 IBM의 OS/390과 AS/400 고객들을 위한 IBM의 로터스 도미노 서버를 비롯, 다른 웹서버들도 있다. 웹서버들은 흔히 전자우편, FTP 파일의 다운로드, 그리고 웹페이지 구축, 발간 등에 필요한 인터넷 및 인트..
Session and Cookies 세션 session.setAttribute("세션name", "세션value"); //세션을 설정 String sessionName = (String)session.getAttribute("세션name"); //앞에서 정의한 세션의 이름을 가져오기 session.setMaxInactiveInterval(60*1); //세션 유지기간을 설정한다 60*1은 60초 * 1을 의미한다 session.removeAttribute("세션name"); //특정 세션을 지울때 session.invalidate(); //세션 값을 삭제 쿠키 Cookie[] cookies = request.getCookies(); //쿠키값을 가져온다 배열 형식으로 기져온다는 것을 유념 Cookie cookie = new Cookie("..
Spring and Hibernate Folder Design and necessary Files Spring_Dev Deployment Descriptor:Srping_Dev Java Resources:src com.msi.test.hell GreetingController.java GreetingService.java GreetingServiceImpl.java HibernateUtil.java SessionFactoryInitializer.java Traffic.java TrafficImpl.java com.msi.test.model Board.java // Data Model Files Libraries build WebContent META-INF hbm Board.hbm.xml // properties jsp hello.jsp lib tld jstl applicationContext.xml..