FrameWork/SpringBoot

1. build.gradledependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' // thymeleaf implementation 'org.springframework.boot:spring-boot-starter-web' // Web implementation 'org.springframework.boot:spring-boot-starter-data-jpa' // JPA implementation 'org.springframework.boot:spring-boot-starter-jdbc' // jdbc runtimeOnly 'com.h2database:h2' ..
https://www.h2database.com/html/main.html H2 Database EngineH2 Database Engine Welcome to H2, the Java SQL database. The main features of H2 are: Very fast, open source, JDBC API Embedded and server modes; in-memory databases Browser based Console application Small footprint: around 2.5 MB jar file size     Suppwww.h2database.com H2https://www.h2database.com/html/main.htmlJDBC URLjdbc:h2:tcp://l..
MVC - model view controller https://docs.spring.io/spring-boot/reference/web/servlet.html Servlet Web Applications :: Spring BootFor servlet application, Spring Boot includes support for embedded Tomcat, Jetty, and Undertow servers. Most developers use the appropriate “Starter” to obtain a fully configured instance. By default, the embedded server listens for HTTP requests on podocs.spring.io Sp..
1. 정적인 페이지 templates/static 에 html 추가하기 templates/static 경로에 index.html 을 넣었을 때 결론적으로 로딩되는건 static 경로에 있는 index.html 공식 문서를 보면 static 경로에서 index.html 를 찾고, 없으면 템플릿 경로에 가서 찾는다 !index 파일을 톰캣을 찾느다 ! 찾을 때 정적인 파일부터 찾고, 업으면 동적인 파일 ! 없으면 페이지가 없다고 문구를 띄운다 !https://docs.spring.io/spring-boot/reference/web/servlet.html Servlet Web Applications :: Spring BootFor servlet application, Spring Boot includes su..
한 17퍼 됐을 때 또 하나 설치하라는 거 똑같이 하면 바로 설치 !재시작 하고 컨트롤 n 해서 스프링 치면 원래 없었는데 생겼따 !     https://tomcat.apache.org/ Apache Tomcat® - Welcome!The Apache Tomcat® software is an open source implementation of the Jakarta Servlet, Jakarta Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the Jakartatomcat.apach..
print(blue)