문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
springframework:mvc [2015/03/03 13:34] kwon37xi |
springframework:mvc [2020/07/17 10:12] (현재) kwon37xi [Command Object] |
||
|---|---|---|---|
| 줄 3: | 줄 3: | ||
| * [[https:// | * [[https:// | ||
| - | ===== @ModelAttribute와 redirect ===== | ||
| - | 컨트롤러에 '' | ||
| - | <code java> | ||
| - | // ModelMap 객체일 경우 | ||
| - | model.clear(); | ||
| - | |||
| - | // Model 객체일 경우 | ||
| - | model.asMap().clear(); | ||
| - | </ | ||
| - | |||
| - | Spring 3.1의 경우 [[http:// | ||
| ===== < | ===== < | ||
| 아래와 같은 형태로 정적 파일을 제공해 줄 수 있다. 정적 리소스의 경로는 ''/ | 아래와 같은 형태로 정적 파일을 제공해 줄 수 있다. 정적 리소스의 경로는 ''/ | ||
| 줄 60: | 줄 49: | ||
| @RequestParam(value = " | @RequestParam(value = " | ||
| </ | </ | ||
| + | * 파라미터 DTO 클래스등을 지정할 경우 클래스의 필드에 지정할 수도 있다. | ||
| + | |||
| + | ===== CommonRequestLoggingFilter ===== | ||
| + | * [[http:// | ||
| + | * 요청을 로깅함. | ||
| + | |||
| + | ===== MdcLoggingInterceptor ===== | ||
| + | * [[java: | ||
| + | * [[https:// | ||
| + | |||
| + | ===== AbstractRequestLoggingFilter ===== | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Command Object ===== | ||
| + | * '' | ||
| + | * 이 경우 기본 생성자와 Setter 가 필수이다. | ||
| + | ===== HttpMessageConverters ===== | ||
| + | * [[https:// | ||
| ===== 기타 ===== | ===== 기타 ===== | ||
| * [[springframework: | * [[springframework: | ||
| * [[springframework: | * [[springframework: | ||
| * [[springframework: | * [[springframework: | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||