第一个控制器通过jsp绑定从TestClass类中获取对象
protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response,
BindException errors, TestClass test)
throws Exception {
ModelAndView mv = new ModelAndView("page.jsp", "modelObject", test);
return mv;
}
并且正在处理第二个,他只获取对象并传回其他jsp页面
protected Test showForm(HttpServletRequest request,
HttpServletResponse response,
BindException errors, TestClass test)
throws Exception {
return test;
}
这个问题的另一种解决方案或更好的方法你能给它吗?