목록Spring (4)
CODE NAME
link rel="icon" href="data:;base64,iVBORw0KGgo=">
새로운 게시물을 등록했을 때 한글 입력에 문제가 있다면 우선 브라우저 개발자 도구(F12)에서 'Network' 탭을 열어둔 상태에서 테이터를 보내 한글이 깨져서 전송되는지 확인하고 문제가 없다면 스프링 MVC 쪽에서 한글을 처리하는 필터를 등록해야 된다. 추가 encoding org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 encoding appServlet 오류 cvc-id.3: A field of identity constraint 'web-app-servlet-name-uniqueness' matched element 'web-app', but this element does not have a si..
라이브러리 추가 코드 추가 com.zaxxer HikariCP 4.0.3 DataSource 설정 코드 추가 테스트 코드 package com.peisia.persistence; import java.sql.Connection; import javax.sql.DataSource; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework...