IT 전용글/JSP 20

JSP 요청 헤더 값 구하는 방법..

// 요청 헤드 값 구하는 방법..############################################## Enumeration headerNames = request.getHeaderNames(); out.println(""); while(headerNames.hasMoreElements()){ String headerName = (String)headerNames.nextElement(); out.println(""); out.println(""+headerName+""); out.println(""+request.getHeader(headerName)+""); } out.println(""); // 요청 헤드 값 구하는 방법.~##################################..

IT 전용글/JSP 2009.01.28

Edit Plus 자바개발환경 세팅하기

1. J2SE SDK 다운 받기 https://jsecom15d.sun.com/ECom/EComActionServlet/LegalPage:~:com.sun.sunit.sdlc.content.LegalWebPageInfo;jsessionid=jsecom15d.sun.com-72%3A4089f8dc%3Ac61465dcd8473e2f 에 접속하셔서.. Windows Offline Installation, Multi-language 를 다운 받으시고 설치 하세요 exe화일이니.자동적으로 설치가 될 것입니다. 2. 환경 설정 내 컴퓨터>등록정보>고급>환경변수 의 '시스템 변수'항목의 path에 ;설치된폴더bin; 을 추가 (-> 자동적으로 path까지 잡혀 있을수도.. 안되어있으면 하세요.) 3. 에디터 설정하기..

IT 전용글/JSP 2008.10.01

java , mysql, tomcat ,eclipse 환경설정(설치순서)

설치과정 1. 자바 1. http://www.sun.com-> download-> java SE-> jdk 6 update 5 2. 설치.. 3. 내컴퓨터 -> 오른쪽 마우스 등록정보 -> 고급 -> 환경변수 -> path-> C:\Program Files\Java\jdk1.6.0_05\bin; 추가 2. Tomcat 1. http://www.apache.org-> download-> Tomcat-> Tomcat5.5-> core: Windows Service Installer 2. port: 8080, userName: user, Password: passwd 3. 마지막 부분에 체크해제후 finish. 3. eclipse 1. http://www.eclipse.org/download-> 오른쪽에서 W..

IT 전용글/JSP 2008.09.29

JSP 에서 톰캣과 Oracle 연동하기~ -0-

JSP에서 Tomcat과 Oracle 연동하기 [테스트환경] OS : Windows 2003 (X86) Web Container : Tomcat 5.5.26 1. 우선 JDBC 드라이버를 다운받는다. - Oracle Client를 설치한 경우는 클라이언트 설치폴더\jdbc에 드라이버 파일이 존재한다. - Oracle Client가 없는 경우 * http://www.oracle.com/technology/software/index.html로 가서 Drivers 부분의 JDBC를 클릭 하여 적당한 버전을 다운받는다.(보통 10g 이상이면 된다.) * 다운받을 경우는 ojdbc14.jar을 받으면 된다. - ojdbc14.jar 파일을 Java설치폴더\jre\lib\ext 와 Tomcat설치폴더\common\..

IT 전용글/JSP 2008.09.28