Spring 3 MVC: Using @ModelAttribute in Your JSPs
http://krams915.blogspot.com/2010/12/spring-3-mvc-using-modelattribute-in.html
- Spring在Controller的函数中return "default", 他将会加载default.jsp文件
- model.addAttribute("shopObjectId", avshop.getObjectId());只针对返回页面
网友评论