"Spring Boot"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 |
잔글 |
||
5번째 줄: | 5번째 줄: | ||
== Annotation == | == Annotation == | ||
+ | @RequestMapping(value = "login", method = RequestMethod.GET, params = { "!error" })<br/>@RequestMapping(value = "login", method = RequestMethod.GET, params = { "error" }) | ||
− | @ | + | |
+ | @Autowired <br/> private HttpSession httpSession; | ||
2016년 11월 11일 (금) 12:38 판
Spring Boot를 정리 한다.
Annotation
@RequestMapping(value = "login", method = RequestMethod.GET, params = { "!error" })
@RequestMapping(value = "login", method = RequestMethod.GET, params = { "error" })
@Autowired
private HttpSession httpSession;
public String showLoginError(Map<String, Object> model, @RequestParam String error) { ~ }