객체
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