SetUp13 [Linux] JDK 설치 / JAVA_HOME PATH 설정 / maven 설치 JDK 설치 / JAVA_HOME PATH 설정 1. 설치 $ sudo apt-get update $ sudo apt-get upgrade # JAVA11 설치 $ sudo apt-get install openjdk-11-jdk 2. 설치 확인 # 설치 확인 $ java -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing) # 설치 확인 $ javac -version javac 11.0.11 3. 환경설정.. 2023. 3. 8. [SetUp] MaBatis 마이바틱스 프로젝트 생성 / 초기 설정 / log4j.xml, mapper.xml, myBatisConfig.xml .. 1. MyBatic library + DB library 준비 Products A blog about the the MyBatis data mapper framework. blog.mybatis.org 2. 설정 파일 데이터베이스 설정 파일 ( myBatisConfig.xml ) 프레임워크용 로그 출력 설정파일 ( log4j.xml ) Mapper 파일( *.xml ) 더보기 1) myBatisConfig.xml 2) log4j.xml 3) mapper.xml 3. 초기 java 코드 1) 패키지 내 .xml 파일 select empno, ename, sal, deptno from emp where deptno=${deptno} select empno, ename, sal, deptno from emp .. 2022. 12. 22. [Setup] 제이쿼리 / jQuery 라이브러리 연동 / Download 방식 / 네트워크 전송(CDN, Content Delivery Network 방식) 다운로드 방식: 제이쿼리 라이브러리 파일을 직접 내려바아 HTML에 불러오는 방식 jQuery What is jQuery? jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. jquery.com 다운로드 방식 설명 Insert title here 2022. 12. 2. [Setup] webapp 폴더가 아닌 특정 폴더에 배포 후 실행하기 appache-tomcat > conf > Catalina > localhost > 폴더명.xml 파일 생성 아래와 같은 xml 내용 작성 2022. 11. 28. [Setup] war 파일을 통해 톰캣을 활용해서 배포하기 war(Web Archiver) - 웹 압축파일 C:\java2 > apache-tomcat-9.0.65 > webapps 폴더에 war 파일을 이동시킵니다. 톰캣 실행시 자동적으로 배포파일이 생성됨. 아파치 톰캣에서 실행 시 자동적으로 war 파일 압축을 풉니다. 폴더명 변경 가능합니다. 2022. 11. 28. [Setup] JSP Eclipse 환경설정 2022. 11. 13. 이전 1 2 3 다음