Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Dialog
- 테스트
- DART
- intent
- drift
- CustomScrollView
- 안드로이드
- livedata
- appbar
- viewmodel
- Button
- binding
- ScrollView
- activity
- android
- 앱
- textview
- 앱바
- Navigation
- scroll
- LifeCycle
- TEST
- Kotlin
- data
- tabbar
- 계측
- Coroutines
- Flutter
- Compose
- textfield
Archives
- Today
- Total
Study Record
[Spring] 기본 정리 본문
728x90
@GetMapping("hello-mvc")
- http://localhost:8080/hello-mvc 로 접근 가능
@RequestParam(value = "name", required = false)
- 요청 파라미터 값을 받을 수 있다.
value : 파라미터 변수 이름
required : true 면 꼭 있어야 하는 파라미터 변수이고 false 면 없어도 된다. (default : true)
@ResponseBody
- http 의 Body 에 문자 내용을 직접 반환한다. 주고 API 방식에서 많이 사용한다.
728x90
'Spring' 카테고리의 다른 글
[Spring] 웹 개발 기초 (0) | 2022.06.05 |
---|---|
[Spring] 빌드하기 (0) | 2022.06.05 |
[Spring] Welcome Page, GetMaping (0) | 2022.06.05 |
[Spring] 프로젝트 생성하기 (0) | 2022.06.05 |