코딩공부

  • 홈
  • 태그
  • 방명록

view 1

[스프링 웹 개발 기초]MVC와 템플릿 엔진

MVC: Model, View, Controller Controller @Controller public class HelloController { @GetMapping("hello-mvc") public String helloMvc(@RequestParam("name") String name, Model model) { model.addAttribute("name", name); return "hello-template"; } } View resources/template/hello-template.html hello! empty 실행 http://localhost:8080/hello-mvc?name=spring thymeleaf를 기능 서버 연결없이 html을 실행(절대경로로)하면 hello! emp..

Java/Spring 2021.03.24
1
더보기
프로필사진

  • 분류 전체보기 (85)
    • HTTP 웹 기본 지식 (7)
    • 객체지향 (3)
    • Java (44)
      • Spring (22)
      • IntelliJ (2)
      • Egov (2)
      • Thymeleaf (16)
    • PHP (1)
    • HTML (1)
    • JavaScript (8)
    • Database (5)
    • Linux (8)
    • Git (4)
    • 이것저것 (4)

Tag

POST, javascript, mysql, es6, requestparam, Thymeleaf, Mock, http, template layout, tomcat, 비구조화 할당, spring, error, linux, Fragment, caching_sha2_password, package추가, 집계함수, HTTP API, Controller,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바