"Spring Boot"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 |
잔글 |
||
10번째 줄: | 10번째 줄: | ||
@Autowired <br/> private HttpSession httpSession; | @Autowired <br/> private HttpSession httpSession; | ||
+ | |||
+ | httpSession.getAttribute("projectId") | ||
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;
httpSession.getAttribute("projectId")
public String showLoginError(Map<String, Object> model, @RequestParam String error) { ~ }