这个乍一看有点懵,不知道怎么回事,怎么就跳到空白页了呢
后来检查了一下才知道control层之间跳转的时候@RequestMapping里面没有写get和post方法
在里面写上就行了
@RequestMapping(value = "/picture.action", method = {RequestMethod.POST,RequestMethod.GET})
本文介绍了一个关于页面跳转的问题及解决方案。问题表现为控制层之间的跳转导致出现空白页的情况。作者通过在@RequestMapping注解中明确指定GET和POST请求类型解决了这一问题。
这个乍一看有点懵,不知道怎么回事,怎么就跳到空白页了呢
后来检查了一下才知道control层之间跳转的时候@RequestMapping里面没有写get和post方法
在里面写上就行了
@RequestMapping(value = "/picture.action", method = {RequestMethod.POST,RequestMethod.GET})

被折叠的 条评论
为什么被折叠?