전체 글

전체 글

    JAVA if문/else if문 예제

    JAVA if문/else if문 예제

    EX_01. 나이를 입력받아 20보다 크거나 같으면 "성인입니다." 20보다 작으면 "미성년자" 라고 출력하는 프로그램 import java.util.Scanner; public class ex01_if문 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int age = 0; System.out.print("나이 입력 : "); age = sc.nextInt(); if(age >= 20) { System.out.println("성인"); } else { System.out.println("미성년자"); } } } EX_02. 정수를 입력받아 입력받은 정수가 3의 배수이면서 5의 배수라면 "3과 5의 배수입니다...

    Eclipse MyBatis 설정

    Eclipse MyBatis 설정

    1. Dynamic Web Project Setting MVNREPOSITORY Maven Repository: Search/Browse/Explore H2O Persist HDFS Last Release on Jul 11, 2022 mvnrepository.com 2. Maven Project Setting MVNREPOSITORY Maven Repository: Search/Browse/Explore H2O Persist HDFS Last Release on Jul 11, 2022 mvnrepository.com CTRL + C pom.xml 안에 CTRL + V

    Eclipse Lombok 설정

    Eclipse Lombok 설정

    1. Lombok Download Lombok Download projectlombok.org eclipse 폴더에 Download cd lombok위치 java -jar lombok.jar 2. Dynamic Web Project Setting MVNREPOSITORY Maven Repository: Search/Browse/Explore H2O Persist HDFS Last Release on Jul 11, 2022 mvnrepository.com 3. Maven Project Setting MVNREPOSITORY Maven Repository: Search/Browse/Explore H2O Persist HDFS Last Release on Jul 11, 2022 mvnrepository.com..

    Eclipse JDBC Setting

    Eclipse JDBC Setting

    1. Oracle 설치 Oracle설치 Oracle 환경 구축 1. ORACLE 11g XE Download oracle 11g XE 2. HR계정 활성화 시작 > Oracle Database 11g Express Edition > Run SQL Command Line 3. SQL Developer Download oracle SQL Developer 4. DB연결 negno.tistory.com 2. Eclipse Oracle DB연동 3. 연동 확인 3-1. JSP파일 생성 3-2. DB연결 코드 입력 Hello World 사번 first_name last_name 3-3. 실행 결과 4. Maven Project OJDBC 연동 4-1.MVNREPOSITORY MVNREPOSITORY Maven R..

    Eclipse MAVEN Setting

    Eclipse MAVEN Setting

    1. MAVEN Download Apache Maven Project Maven – Download Apache Maven Downloading Apache Maven 3.8.6 Apache Maven 3.8.6 is the latest release and recommended version for all users. The currently selected download mirror is https://dlcdn.apache.org/. If you encounter a problem with this mirror, please select another mirror. I maven.apache.org 2. 환경 변수 Setting Win + R > sysdm.cpl %MAVEN_HOME%\bin 3..

    Eclipse Tomcat9 Setting

    Eclipse Tomcat9 Setting

    1. Tomcat9 Download Apache Tomcat Apache Tomcat® - Welcome! The Apache Tomcat® software is an open source implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the tomcat.apache.org C:\에 압축 해제 2. Eclipse Setting