# 2023.05.21

## 할일 및 한일&#x20;

* [x] 알고리즘 문제 풀이&#x20;
* [x] 스프링 MVC 강의 학습 및 정리&#x20;

## 경험 및 배움&#x20;

### 알고리즘 문제 풀이&#x20;

오늘은 한 문제 밖에 풀지 못했다.

빨리 마무리하고 다른 자료구조를 이용한 알고리즘을 풀어봐야 할텐데..

{% embed url="<https://github.com/Jinwon-Dev/programmers-introduction/commit/d1a42e8c150040c38ec2170153a73cbb3b848cdb>" %}

### 스프링 MVC 강의 학습 및 정리&#x20;

또한, 스프링 MVC 강의를 학습하였다.

오늘은 프로젝트를 생성하고 세팅한 후, **HttpServletRequest**에 대해 알아보았다.

**기본적인 동작 방식과 서블릿 환경 구성 및 등록하는 방법, 그리고 기본적인 사용법**을 학습하였다.

추가적으로 **HTTP 요청 메시지를 통해 클라이언트에서 서버로 데이터를 전달하는 방법 3가지**를 학습하였다.

1. ***`GET`****&#x20;****- 쿼리 파라미터***
2. ***`POST`****&#x20;****- HTML Form***
3. ***HTTP 바디에 데이터를 직접 JSON으로 담아서 요청***

특히, JSON을 서버에서 파싱하는 방법이 궁금했는데 **`ObjectMapper`** 에 대해서도 배워볼 수 있었다.

자세한 학습 내용은 정리 링크를 첨부한다.

{% embed url="<https://jinwonyoon.notion.site/fe36d4c839b74d219ffd0570426031ae>" %}

## 개선 및 목표&#x20;

* 내일은 오후 및 야간에 전공 수업이 예정되어 있다.&#x20;
* 남는 시간은 알고리즘 및 스프링 mvc 강의 학습!&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jinwon-yoon.gitbook.io/jinonys-blog/daily-log/2023.05.21.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
