2
에서 개체에 액세스하는 다음 public ModelAndView sendEmail() {}
수정 말하기 된 경우 Collection
또는 HashMap
처럼, How do you redirect to another URI and access an object from the previous modelAndView 다른 객체가 모델 객체에 추가 한 것, 그 다음 방법은 /nextPageclass
방법에 액세스 한 것?참조 링크에서 이전의 ModelAndView
public ModelAndView something(HttpServletRequest request) {
HttpSession session = request.getSession();
session.setAttribute("name", "object");
return new ModelAndView(new RedirectView("nextPageclass"));
}
이 값이 전체 사용자의 세션 동안 사용할 수보다는 개별 페이지 요청에 확인해야합니다 : 난 그냥 HttpSession에 개체로 붙여 것이 가능하면