분류 전체보기109 학원 수업 58일차 221111 9-10 프로젝트명 : springWebSecurity02 spring security 구성 https://docs.spring.io/spring-security/reference/servlet/configuration/java.html#jc-httpsecurity csrf? 10-11 and() ? 11-12 (/springWebSecurity02/src/main/resources/templates/sign/signin.html) (/springWebSecurity02/src/main/java/com/green/nowon/security/WebSecurityConfig.java) 2-3 https://docs.spring.io/spring-security/reference/servlet/authenti.. 2023. 4. 27. 학원 수업 57일차 221110 9-10 Spring Web Security signin 페이지 디자인 10-11 https://docs.spring.io/spring-security/reference/servlet/configuration/java.html#_multiple_httpsecurity https://docs.spring.io/spring-security/reference/servlet/authentication/passwords/dao-authentication-provider.html 11-12 (/springWebSecurity01/src/main/java/com/green/nowon/security/MemberRole.java) enum? (/springWebSecurity01/src/main/java/com/gre.. 2023. 4. 27. 학원 수업 56일차 221109 9-10 @ResponseBody ?? 값을 JSON으로 반환 https://ko.wikipedia.org/wiki/JSON open api 배울거야 (/springWebRdsJpa02/src/main/resources/templates/board/detail.html) function registReply(el){ $.ajax({ url : "/mybatis/boards/"+bno+"/reply", success:function(){ }}); } ajax는 url 필수! 결과값은 없어도 url은 있어야함 https://www.w3schools.com/jquery/ajax_ajax.asp data : Specifies data to be sent to the server 10-11 type : Speci.. 2023. 4. 27. 학원 수업 55일차 221108 9-10 (/springWebRdsJpa02/src/main/resources/templates/board/detail.html) 수정 기능 만들기 https://www.w3schools.com/jquery/jquery_get_started.asp Google CDN: 10-11 mybatis 수정 기능 구현 xml을 이용한 방법 시작 (/springWebRdsJpa02/src/main/resources/mapper/myboard-mapper.xml) https://mybatis.org/mybatis-3/getting-started.html#exploring-mapped-sql-statements 복붙 11-12 mybatis -> xml을 이용한 게시판 구현 댓글 기능 추가 (/springWebRdsJ.. 2023. 4. 27. 학원 수업 54일차 221107 9-10 프로젝트명 : lambdaTest 자바8 람다식을 배워보자! https://www.tutorialspoint.com/java8/java8_lambda_expressions.htm https://www.tutorialspoint.com/java8/java8_functional_interfaces.htm 10-11 Consumer : 매개변수 있고, 리턴있는 메서드 Supplier : 매개변수 없고, 리턴있는 메서드 Function : 매개값 있고, 리턴 있는 Operator : 매개값 있고, 리턴 있는 Predicate : 매개값 있고, 리턴 boolean 11-12 (/lambdaTest/src/streams/StreamTest01.java) https://codechacha.com/ko/jav.. 2023. 4. 27. 학원 수업 53일차 221104 9-10 자바 8버전 학습해야 함 https://www.tutorialspoint.com/java8/index.htm @OneToMany @ManyToOne 12-1 Lambda Expression System.out::println @OneToMany(fetch = FetchType.EAGER) //즉시 로딩 (BoardEntity.java)(ReplyEntity.java)(BoardEntityRepository.java) (/springWebRdsJpa02/src/test/java/com/green/nowon/SpringWebRdsJpa02ApplicationTests.java) JPA의 필요성 직접 쿼리 안쳐도 됨 개발 빨라짐 2023. 4. 27. 학원 수업 52일차 221103 9-10 rollup, grouping sets? 부하분산? 10-11 AWS 데이터베이스 생성 > 마리아DB > 템플릿 프리 티어로 선택해야 무료! > 할당된 스토리지 20으로 해야 무료 > 스토리지 자동 조정 활성화 해제 > 퍼블릭 액세스 예 > 추가 구성 초기 데이터베이스 이름 설정 > 백업 활성화 해제(돈 나올 수 있음) > 암호화 활성화 해제 다 해제해! 돈 나와 > 월별 추정 요금 'Amazon RDS 프리 티어는 12개월 동안 사용할 수 있습니다. 매월 프리 티어를 통해 아래 나열된 Amazon RDS 리소스를 무료로 사용할 수 있습니다.' 메시지 나오는지 확인 > 생성 기다리면서 파라미터 그룹 생성 > time_zone, character, max_connections 설정할거임 > 파라미.. 2023. 4. 27. JPA 검색 기능에 대하여! findBy, Containing, Between 오늘 어마어마한 걸 깨달았다 JPA로 검색기능을 구현하고 있는데 findBy컬럼명Containing만 쓰던 나는 왜 자꾸 오류가 나는지 Parameter value [%100%] did not match expected type [java.lang.Integer (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [%100%] did not match expected type [java.lang.Integer (n/a)] org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [%100%] did not match expected ty.. 2023. 4. 26. 모달창 modal 띄우기(HTML, CSS, Java Script) 모달 창 열기 모달 창 모달 창 입니다. 모달 창 닫기 @charset "UTF-8"; #root { position: relative; } #modal { display: none; position:relative; width:100%; height:100%; z-index:1; } #modal h2 { margin:0; } #modal button { display:inline-block; width:100px; margin-left:calc(100% - 100px - 10px); } #modal .modal_content { width:300px; height: 100%; margin:100px auto; padding:20px 10px; background:#fff; border:2px solid.. 2023. 4. 25. 이전 1 2 3 4 5 6 7 ··· 13 다음