1.이클립스다운
아래 링크에서 운영체제에 맞게 설치한다.
https://www.eclipse.org/downloads/packages/
Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source pro
446 MB 1,083 DOWNLOADS The Modeling package provides tools and runtimes for building model-based applications. You can use it to graphically design domain models, to leverage those models at design time by creating and editing dynamic instances, to collabo
www.eclipse.org
2.톰캣서버다운 및 연결
아래 링크에서 zip을 다운받는다.
https://tomcat.apache.org/download-80.cgi
Apache Tomcat® - Apache Tomcat 8 Software Downloads
Welcome to the Apache Tomcat® 8.x software download page. This page provides download links for obtaining the latest versions of Tomcat 8.x software, as well as links to the archives of older releases. Unsure which version you need? Specification versions
tomcat.apache.org
톰캣 서버 연결 후 sever.xml에서 port번호를 수정해준다.
3.jsp (서버 프로그래밍) 한글 인코딩 설정
preferences-enc에서 utf8 설정
4. Oracle 다운 및 Dynamic 웹 프로젝트에서 Oracle DB 연동 설정
아래 링크로 이동 하면 DB 연동하기 위한 설정을 볼수가 있다.
http://tomcat.apache.org/tomcat-8.5-doc/jndi-datasource-examples-howto.html#Oracle_8i,_9i_&_10g
Apache Tomcat 8 (8.5.50) - JNDI Datasource How-To
JNDI Datasource configuration is covered extensively in the JNDI-Resources-HOWTO. However, feedback from tomcat-user has shown that specifics for individual configurations can be rather tricky. Here then are some example configurations that have been poste
tomcat.apache.org
tomcat서버를 이클립스에서 db와 연동하여 사용하기 위해여 환경설정을 해준다.
Severs폴더안의 web.xml전체 프로젝트에 적용되고 부분적으로 적용하고 싶은 것은 해당 프로젝트의 WEB-INF/lib에 web.xml를 설정한다.
5. Eclipse Quantum DB 플러그인 설치하고 Oracle DB 북마크만들기
아래의 링크에서 point eclipse at 옆 주소 복사 해서 Help>install new software>work with에 붙여넣기
http://quantum.sourceforge.net/
다운받았으면 환경을 Quantum으로 바꾼다.
new bookmark에서 jdbc.jar을 Add driver해주고 browse ->oracle.jdbc.driver.OracleDrivwr해준다.
'프로그래밍 기초 > JSP' 카테고리의 다른 글
[JSP]리다이렉트와 포워드(redirect, forward) (0) | 2020.01.12 |
---|---|
[JSP] Filter (0) | 2020.01.10 |
[JSP]location.href의 사용 (0) | 2020.01.08 |
tomcat 서버 환경설정-db연동 (0) | 2020.01.08 |
[JSP,HTML,CSS]빠른 완성을 도와주는 Emmet (0) | 2020.01.07 |