일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- paging
- namedQuery
- 프로젝트생성
- calendar
- javascriptcalendar
- 스프링데이터흐름
- Generic
- javaservlet
- joinfetch
- 제너릭
- jscalendar
- LIST
- JQuery
- 벌크연산
- 대량쿼리
- values()
- 자바서블릿
- springflow
- fetchjoin
- fullcalendar
- jQuery값전송
- jQuery값전달
- 엔티티직접사용
- 페치조인
- jQueryUI
- Hibernate
- 페이징
- 제네릭
- JPA
- JPQL
- Today
- Total
목록공부 (253)
가자공부하러!
참고 : https://medium.com/@hyunalee419/spring-boot-custom-error-page-4258cd37f05c 1. 순서2. 소스코드 () 1. 순서 1. 사용자에게 보여 줄 에러 뷰 생성2. ErrorController를 구현하는 컨트롤러 클래스 작성 > src/main/java/com/rhymes/app/common/controller/CustomErrorController.java 2. 소스코드 1234567891011121314151617181920212223242526272829303132333435363738package com.rhymes.app.common.controller; import javax.servlet.RequestDispatcher;import..
소스코드 : 1. 스크립트릿 12345678910111213141516Colored by Color Scriptercs 2. security taglib 활용 2.1. 디펜던시1234 org.springframework.security spring-security-taglibsColored by Color Scriptercs 2.2. jsp1234567891011 ${prc.username } ${auth } Colored by Color Scriptercs
참고 : https://tram-devlog.tistory.com/entry/Spring-EhCache-%EC%A0%81%EC%9A%A9%ED%95%98%EA%B8%B0참고 : https://jojoldu.tistory.com/57참고 : https://055055.tistory.com/15 1. EHCache 적용1. 개발환경 > Spring Boot 2.1.8(maven, spring security) > JDK 1.8 2. 적용 순서 > 디펜던시 추가(pom.xml) -> configuration 파일 작성 -> 테스트 > 디펜던시 추가(pom.xml)123456789101112131415 net.sf.ehcache ehcache org.springframework.boot spring-boot-s..
참고 : https://leostory.tistory.com/122 1. cmd에서 해당 폴더로 이동 2. tree /f > tree_view(파일이름).txt 입력 octotree : 깃헙 소스를 편하게 볼 수 있게끔 해주는 크롬 플러그인
참고 : https://jojoldu.tistory.com/297 참고 : http://wiki.sys4u.co.kr/pages/viewpage.action?pageId=8552454참고 : https://genesis8.tistory.com/189참고 : https://webisfree.com/2017-10-26/redis-%EB%A0%88%EB%94%94%EC%8A%A4%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%9C-%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%B2%A0%EC%9D%B4%EC%8A%A4-%EC%BA%90%EC%8B%B1%EC%84%9C%EB%B2%84-%EC%9A%B4%EC%98%81%ED%95%98%EA%B8%B0 1. Redis ? 1. REmote ..
소스코드 : 참고 : https://a1010100z.tistory.com/entry/Spring-Spring-boot-security-%EB%A1%9C%EA%B7%B8%EC%9D%B8-%EB%B7%B0-%EB%B3%80%EA%B2%BD%ED%95%98%EA%B8%B0%EA%B0%9C%EB%B0%9C%EC%9D%BC%EA%B8%B0A4 1. 로그인 뷰 설정 2. 3. 4. 문제 해결 1. 로그인 뷰 설정 1. 요약 > WebSecurityConfigurerAdapter를 상속받은 @Configuration 파일에 로그인 뷰 경로 설정 > 컨트롤러 작성 > 뷰 작성 2. SpringSecurityConfiguration extends WebSecurityConfigurerAdapter 12345678910..
소스코드 : https://github.com/HyeongJunMin/springboot/tree/master/MariaDBExam 설치방법 : https://dotheright.tistory.com/102?category=790771 개발환경 : MariaDB(10.2.14), Connector(2.2.3) 참고페이지 : https://taetaetae.github.io/2019/04/21/spring-boot-mybatis-mysql-xml/ 1. DB 생성, 테이블 생성, 사용자 등록 2. Spring Boot 연동 3. 문제 해결 1. DB 생성 1. HeidiSQL > DB 생성 : 좌측 빈곳에 오른클릭 -> 새로 생성 -> 데이터베이스 -> 이름입력 -> 확인 > 사용자 생성 : DB클릭(선택..
소스코드 : 참고 : https://ryudung.tistory.com/20참고 : http://progtrend.blogspot.com/2018/07/spring-boot-security.html참고 : https://a1010100z.tistory.com/entry/Spring-Spring-security-%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%B4%EB%B3%B4%EC%9E%90-%ED%9A%8C%EC%9B%90%EA%B0%80%EC%9E%85%EB%B6%80%ED%84%B0-%EB%A1%9C%EA%B7%B8%EC%9D%B8%EA%B9%8C%EC%A7%80-Spring-boot-Gradle-MyBatis-MySQL참고 : 1. Spring Security 개요 2. 환경설정 ..
1. 목표2. 기능 3. 소스코드 1. 목표 1. 개발환경 > Spring Boot 2.1.7, JDK 8 2. 뷰에서 많은 양의 데이터를 컨트롤러로 보내고자 한다. > 리스트 형태로 보낼 수 있다. 2. 기능 1. 리스트 타입으로 보내기 순서 > 데이터가 담길 ExamDTO 작성(getter, setter) - String title, String subject, String limit_time > ExamDTO를 List타입으로 갖는 ExamListDTO 작성(getter, setter) - List examlist > 뷰에서 보낼 데이터를 폼으로 묶음- action : listtest- method : post- input 태그- name : ExamListDTO에서 선언한 변수명을 사용하여 작성-..
1. 목표2. 기능 3. 소스코드 1. 목표 1. 개발환경 > Spring Boot 2.1.7, JDK 8 2. JavaScript, jQuery, 정규식을 활용해 회원가입 기능 구현 > 뷰 요소 : ID, 이름, 비밀번호, 비밀번호 확인, 이메일 > 정규식 활용 뷰 요소 : - ID : 영소문자, 영대문자, 숫자만 가능하게끔 설정. 공백 포함 불가. - 이름 : 공백 포함 불가. - 이메일 : 이메일 형식에 맞게끔 설정(aaa@bbbb.bbb) 2. 기능 1. ID 중복체크 > ID 입력란에 키다운 이벤트가 발생하면 ajax 통신을 통해 중복된 아이디인지 판별 > 중복되지 않은 아이디인 경우에만 회원가입 버튼 활성화 2. 입력요소 빈 칸 체크 > ID, 이름, 비밀번호가 비어있는지 체크 > 비어있지 않..
1. 개발환경1. 개발환경 > spring boot version 2.1.7(Spring Starter Project, Gradle Project, Themyleaf template engine) > jdk 8 > sts3 2. 프로젝트 생성 방법1. 방법1 : Spring Starter Project -> Type을 Gradle로 설정 > 프로젝트 이름 : examGradleWelcome > 패키징 : WAR > 프로젝트 생성 시 추가하는 dependencies - Spring Boot DevTools- Lombok- MySQL Driver- MyBatis Framework- Spring Web Starter > 설정 - 실패 - view resolver :- application.properties ..
1. 개발환경1. 다운로드 > Javascript Full Calendar 홈페이지 : https://fullcalendar.io > Javascript Full Calendar Scheduler : https://fullcalendar.io/docs/premium 2. 실습환경 : Spring Boot 2.1.7, JDK8, JSP, tiles, Full Calendar 4.3.1 3. 적용페이지 : src/main/webapp/WEB-INF/views/calendar/calmain.jsp 2. Calendar 외부의 값 가져오기1. 버튼 클릭 시 이벤트 가져오기 > 배열 형태 - 예) 2차원 배열 - 보낼 때 : var arr = [ {'title':'evt4', 'start':'2019-09-04'..