Spring
-
mybatis 세팅Spring 2021. 11. 22. 11:20
Query.xml ======================================================== SqlMapConfig.xml ========================================================= db.properties (file) driver=oracle.jdbc.driver.OracleDriver url=jdbc:oracle:thin:@localhost:1521:XE username=계정id password=계정비밀번호 ============================================== application-config 예전엔 만들어 주었으나 4버젼은 자동파일생성된다..설정만 하면됨 ========================..
-
211118_form 데이터 읽기(기본)Spring 2021. 11. 19. 09:41
package spring.day1118.mouse; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet..