Software Engineer가 될래요

  • 홈
  • 태그
  • 방명록

Spring Web 1

[Spring 입문] Spring 웹 개발 기초 (정적 컨텐츠, MVC와 템플릿 엔진, API)

스프링 웹은 정적 컨텐츠, MVC와 템플릿 엔진, API를 기본으로 개발된다. 각 개념이 무엇인지, 어떻게 개발하는지를 알아보도록 하자. 정적 컨텐츠SpringBoot는 /static 디렉토리나 ServletContext의 루트에서 정적 컨텐츠를 가져와 전달하는 한다. 아래와 같이 static 디렉토리 아래 hello-static.html을 작성하고 localhost:8080/[파일명]으로 접근하면 정적 컨텐츠를 확인할 수 있다.  아래는 정적 컨텐츠가 사용자에게 나타나는 과정을 나타낸다.웹 브라우저에서 hello-static.html를 찾으면내장 톰켓 서버가 스프링에 전달한다.스프링은 hello-static 관련 컨트롤러를 먼저 찾는다. (controller의 우선순위가 resources보다 높다는 걸..

Spring & SpringBoot 2024.07.25
이전
1
다음
더보기
프로필사진

Software Engineer가 될래요

Infra Engineer가 될래요

  • 분류 전체보기 (37)
    • Algorithm (14)
    • Certification (7)
    • Linux Master (2)
    • Kubernetes (2)
    • Observability (3)
    • Spring & SpringBoot (3)
    • Daily (6)

Tag

boj, replica set, 이중우선순위큐, scheduling 정리, multiple schedulers, 오블완, static pods, 2473, daemonsets, resource requirements and limits, manual scheduling, kubectl edit, cka udemy, 쿠버네티스 인 액션, kubectl expose, 작심삼주, 리눅스 마스터 1급 필기, taints and tolerations, CKA, udemy, kubectl get, labels and selectors, Spring, CPP, node selector, kubectl 명령어, 티스토리챌린지, springboot, 프로그래머스, core concepts,

최근글과 인기글

  • 최근글
  • 인기글

공지사항

Archives

Calendar

«   2026/03   »
일 월 화 수 목 금 토
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 © AXZ Corp. All rights reserved.

티스토리툴바