"스프링 @ModelAttribute"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
10번째 줄: 10번째 줄:
* [[.addAttribute()]]
* [[.addAttribute()]]


==참고 자료==
==참고==
* http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/bind/annotation/ModelAttribute.html
* http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/bind/annotation/ModelAttribute.html


[[분류: 자바 애노테이션]]
[[분류:스프링 애노테이션]]

2017년 7월 18일 (화) 04:06 기준 최신판

1 개요[ | ]

@ModelAttribute
  • 자바 애너테이션의 하나
  • 메소드 파라미터, 반환값을 모델 애트리뷰트에 바인드하는 애너테이션
  • 이것이 붙은 메소드는 @RequestMapping이 붙은 메소드보다 먼저 실행됨

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}