일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- javascriptcalendar
- paging
- jQuery값전송
- jQuery값전달
- JPA
- 프로젝트생성
- namedQuery
- 제너릭
- 대량쿼리
- joinfetch
- 페치조인
- Generic
- 자바서블릿
- 스프링데이터흐름
- javaservlet
- 페이징
- 제네릭
- JQuery
- values()
- 엔티티직접사용
- fullcalendar
- fetchjoin
- springflow
- LIST
- jQueryUI
- JPQL
- calendar
- Hibernate
- 벌크연산
- jscalendar
- Today
- Total
목록분류 전체보기 (259)
가자공부하러!

application.yml 또는 application.properties에서 수정 spring.datasource.hikari.driver-class-name : oracle.jdbc.driver.OracleDriver -> spring.datasource.hikari.driver-class-name : oracle.jdbc.OracleDriver
1. 기초 설정 > spring boot version 2.1.7(Spring Starter Project) > jdk 8 > sts3 > maven 2. dependencies > 프로젝트 생성 시 추가 - Spring Boot DevTools- Lombok- MySQL Driver- MyBatis Framework- Spring Web Starter > 별도 추가- JSP 수행을 위한 내장 톰캣 : tomcat-embed-jasper - JSTL - DB 관련 : spring-boot-starter-jdbc, ojdbc6(pom.xml에 repository등록 필요), h2, HikariCP- File IO : commons-io, cos, commons-fileupload 3. application..

가져온 경로를 저장해서 임의의 작업 후에 저장된 경로로 다시 이동할 수 있다. - 로그아웃 등 경로에 한글이 포함되어 있는 경우(파라미터 등) UNI코드로 변환되는 문자열을 decoding할 수 있다. 1. JSP > request 경로 받아오는 메소드 ContextPath : request.getContextPath() ServletPath : request.getServletPath() URI : request.getRequestURI() URL : request.getRequestURL() param : request.getQueryString() (Map)param : reqeust.getParameterMap() > 한글 유니코드 EN/DECODING java.net.URIDecoder.deco..
1. web xml에 추가 404 /error/error.jsp 500 /error/error.jsp 2. 에러페이지 작성(경로 : WEB-INF/error) 404!!!
1. 슬라이더 1. https://pgwjs.com/pgwslider/ PgwSlider - Responsive slider for jQuery / Zepto Download Current version: 2.3 And of course, you will need Jquery or Zepto to use this responsive slider plugin. Example To test the adaptive slider, just resize your browser and/or configure some options, and see the result below: HTML: Shanghai, China Ne pgwjs.com 2. http://www.superslide2.com/SuperSlide.2..

java에서 개행문자가 포함된 문자열을 받아와서 parse 함수를 사용할 때, unexpected token 에러가 발생한다. 이 때, 문자열.data.trim().replace(/\r/gi, '\\r').replace(/\n/gi, '\\n'); 처리해주고 parse하면된다. $.ajax({ type : "GET", url : "http://localhost:8090/std190730_JSP6_BBS_reply/bbs?command=showonepost", data : {"seqNum":seq}, datatype : "json", success : function(data){ alert('success : ' + data.trim() + " , type : " + data.trim().type); va..
1. Lombok? 2. 사용 방법 3. 주의사항 1. Lombok? 1. Java에서 DTO, VO, Domain 등 Object를 만들 때 쉽게 작업하기 위해 도와주는 라이브러리 2. 기능 > getter/setter 자동 생성 > 생성자 자동 생성 > toString 자동 생성 2. 사용 방법1. 다운로드 및 적용 > jar 다운로드 : http://projectlombok.org/download.html- 콘솔에 java -jar lombok.jar 입력 > Maven : pom.xml에 dependency 추가 > Gradle : build.gradle에 dependency 추가 2. 어노테이션 활용 > @Data- 아래 어노테이션 모두 포함- @ToString, @EqualsAndHashCod..
1. tiles/sitemesh 2. 3. 4. 5. 6. 1. tiles/sitemesh 1. 목적 > Thymeleaf template engine에서 html 코드 분리 및 단순화를 통한 가독성 개선. 2. 기초 설정 > Spring boot (thymeleaf, hikari cp, oracle db) 3. 참고 사이트 > tiles - Spring Framework tiles sample : 내 블로그 207, tiles sample 소스코드 - 공식 홈페이지 : http://tiles.apache.org/ > sitemesh - 공식 홈페이지 : http://wiki.sitemesh.org/ 2. 3. 1. 4. 1. 5. 1. 6. 1.
소스코드 : https://github.com/ 1. 기초 설정 및 순서2. pom.xml 3. application.yml 4. config 5. mapper 6. view & controller 1. 기초 설정 및 순서 0. 목표 > Thymeleaf와 Hikari CP를 활용한 Spring boot 프로젝트 생성 및 run 1. 실행 환경 > spring boot version : 2.1.6 > jdk 8 > sts3 2. dependencies > Spring Boot DevTools > Lombok > MySQL Driver > MyBatis Framework > Spring Web Starter > thymeleaf- spring-boot-starter-thymeleaf, thymeleaf, ..
Spring Boot Example - Creating a Form원문 : https://www.thymeleaf.org/doc/tutorials 1. Handlig the command object Command object is the name Spring MVC gives to form-backing beans, this is, to objects that model a form’s fields and provide getter and setter methods that will be used by the framework for establishing and obtaining the values input by the user at the browser side.Thymeleaf requires ..
Spring Boot Asterisk-syntax원문 : https://www.thymeleaf.org/doc Not only can variable expressions be written as ${...}, but also as *{...}. There is an important difference though: the asterisk syntax evaluates expressions on selected objects rather than on the whole context. That is, as long as there is no selected object, the dollar and the asterisk syntaxes do exactly the same. > Thymeleaf에서 변수..
문제 링크 2019-07-20 시작!!2019-07-20 완료! 6점 득! 1. 문제2. 해결 방법3. 내 코드4. 참고 문서 1. 문제 : 2. 해결 방법[방법 1]1. 피보나치 수열의 n번째 값 하나만 필요하므로 n번째 값을 구하는 규칙 설정- 일반항 산출 2. n번째 일반항을 1234567로 나눈 나머지를 리턴 [방법 2]1. 피보나치 수열 전체를 산출2. n번째 일반항을 1234567로 나눈 나머지를 리턴->문제가 잘못됐었음...->나머지 연산을 한번 더시켜야 되네 :( ->앞으로 이상하다 싶으면 질문쪽 먼저 보기로 3. 내 코드 : [방법 1]github 소스코드 링크수행결과 : 실패 -> 직접적으로 계산하면 안되는 듯 하다 [방법 2]github 소스코드 링크수행결과 : 4. 참고 문서 : -..