객체

2021. 7. 28. 16:13(구)공부/Spring

728x90

ModelAndView - model과 view를 둘 다 가진 객체

@RequestMapping(value = "member/goGet", method = RequestMethod.GET)
public String goMethod(@RequestParam("id")String id,HttpServletRequest req, Model model) {
model.addAttribute("id",id);
return "member/goGet";// 
}

 

 

728x90

'(구)공부 > Spring' 카테고리의 다른 글

mybatis사용  (0) 2021.07.29
JDBC  (0) 2021.07.29
메이븐  (0) 2021.07.28
어노테이션  (0) 2021.07.28
한글처리 필터  (0) 2021.07.28