최근 새로운 프로젝트 진행하는데 고객사 클라우드 PC에서 작업을 해야되서 프로젝트 세팅부터 정말 원할하게 진행되는게 없다.. 그 중 하나인 개발환경 세팅하고 Gradle 빌드하는데 Server Certificates is not trusted 라고 떠서 여기저기 찾아보다 아래 방식으로 일단 설정해줬다 Server Certificates 설정 변경 SSL 통신 관련 옵션을 해제 File > Settings > Tools > Server Certificates > Accept non-trusted certificates automatically 체크 난 일단 위방식으로 진행했다 참고 링크 : https://m.blog.naver.com/PostView.nhn?blogId=youzang7&logNo=22119..
Web/Spring
https://catsbi.oopy.io/32a9458e-f452-4733-b87c-caba75f98e2d 1. 타임리프 - 기본 기능 목차 catsbi.oopy.io 타임리프 관련해서 자세히 잘 정리해 주신 블로그
너무나도 잘 정리해주신분 있어서 가져와봤다 진짜 공식문서보다 보기 편함! 참고링크 https://eblo.tistory.com/55 Spring boot - Thymeleaf 기본 문법 1. Thymeleaf 기본 표현 자세한 문법은 Thymeleaf 사이트의 튜토리얼을 참고하는게 좋습니다. 기본 표현, 조건문, 반복문 세가지를 중점으로 보겠습니다. Thymeleaf Document 참고 (https://www.thymeleaf.org/doc/tuto eblo.tistory.com 1. Thymeleaf 기본 표현 자세한 문법은 Thymeleaf 사이트의 튜토리얼을 참고하는게 좋습니다. 기본 표현, 조건문, 반복문 세가지를 중점으로 보겠습니다. Thymeleaf Document 참고 (https://ww..
https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods.query-creation Spring Data JPA - Reference Documentation Example 121. Using @Transactional at query methods @Transactional(readOnly = true) interface UserRepository extends JpaRepository { List findByLastname(String lastname); @Modifying @Transactional @Query("delete from User u where u.active = false") void de..

컨텐츠 영역 " data-ke-type="html">HTML 삽입미리보기할 수 없는 소스작업 환경 : STS4 외부파일서 정의된 조각을 사용하는 경우~{}를 써서 경로를 정의하는 것이 기본 문법이나 간단한 작업을 하는 경우 생략이 가능 th:insert= ~(연결된 뷰의 path :: 정의된 프레그먼트의 이름} 참고사이트 : https://jddng.tistory.com/231 /hello ex) 단순 U" data-og-host="jddng.tistory.com" data-og-source-url="https://jddng.tistory.com/231" data-og-url="https://jddng.tistory.com/231" data-og-image="https://scrap.kakaocdn...
# server port setting server.port=8088 server.servlet.context-path=/erp # thymeleaf spring.thymeleaf.cache=false spring.thymeleaf.prefix=classpath:/templates/ spring.thymeleaf.suffix=.html spring.thymeleaf.view-names=thymeleaf/* # JSP spring.mvc.view.prefix=/WEB-INF/views/ spring.mvc.view.suffix=.jsp # db사용을 위한 설정 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url..

https://github.com/spring-projects/sts4/wiki Home The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse... github.com 이전 버전 링크 https://github.com/spring-projects/sts4/wiki/Previous-Versions Previous Versions The next generation of tooling for Spring Boot..

1. tiles 적용하기 pom.xml 라이브러리 추가 https://mvnrepository.com/artifact/org.apache.tiles/tiles-jsp/3.0.8 org.apache.tiles tiles-jsp 3.0.8 https://mvnrepository.com/artifact/org.apache.tiles/tiles-servlet/3.0.8 org.apache.tiles tiles-jsp 3.0.8 spring-config.xml 설정 tiles를 기본으로 view를 만들 수 있도록 View Resolver를 등록 템플릿을 등록 / 레이아웃을 정의 뷰를 등록 tiles 설정 파일을 읽어서 작업할 수 있도록 설정파일을 등록 tiles기반으로 뷰를 만들 수 있도록 ViewResolver..
1.라이브러리 등록 spring jdbc, mysql 드라이버 spring jdbc 링크 Maven Repository: org.springframework » spring-jdbc mysql connector https://mvnrepository.com/artifact/mysql/mysql-connector-java 2. 커넥션 관리 객체를 생성 스프링에서 제공되는 커넥션 관리 객체를 설정파일에 등록하기 DriverManager를 이용해서 Connection객체 생성하고 사용 ( O ) Connection Pool 사용하기 위해 외부에서 제공되는 라이브러리를 이용 Connection Pool 사용하기 위해서 WAS에 등록하고 사용하는 방법 3. DB연동기능을 제공하는 스프링의 객체를 생성 JDBCTe..

web.xml appServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/config/spring-config.xml 1 나는 servlet-context 파일을 WEB-INF 폴더아래 config 폴더를 만들고 sping-config.xml 로 변경해줬다 InternalResourceViewResolver prefix 접두사 suffix 접미사 prefix + [mapping return 값] + suffix base-package 값 아래 모든걸 scan