oohave / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

springmvc 插件代码生成问题 #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
生成的UserInfoController 中的list方法
public ModelAndView list(HttpServletRequest request,HttpServletResponse
response,UserInfo userInfo) 中有一行为
result.setViewName("/userinfo/list");
应改为:result.setViewName("/pages/UserInfo/list");

Original issue reported on code.google.com by zgw06...@gmail.com on 17 Nov 2009 at 6:41

GoogleCodeExporter commented 8 years ago
这个不需要,pages是在viewResolver中配置为前缀了,在java代码中不
需要出现

Original comment by bad...@gmail.com on 22 Nov 2009 at 9:48