"Spring Boot"의 두 판 사이의 차이

오픈소스 비즈니스 컨설팅
둘러보기로 가기 검색하러 가기
잔글
잔글
5번째 줄: 5번째 줄:
 
== Annotation ==
 
== Annotation ==
  
 +
@RequestMapping(value = "login", method = RequestMethod.GET, params = { "!error" })<br/>@RequestMapping(value = "login", method = RequestMethod.GET, params = { "error" })
  
  
@RequestMapping(value = "login", method = RequestMethod.GET, params = { "!error" })<br/>@RequestMapping(value = "login", method = RequestMethod.GET, params = { "error" })
+
 
 +
&nbsp;&nbsp; &nbsp;@Autowired&nbsp;<br/>&nbsp;&nbsp; &nbsp;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) { ~ }


참고 문헌