SSM写项目时遇到的bug-----control层页面跳转出空白页

这个乍一看有点懵,不知道怎么回事,怎么就跳到空白页了呢

后来检查了一下才知道control层之间跳转的时候@RequestMapping里面没有写get和post方法

在里面写上就行了

@RequestMapping(value = "/picture.action", method = {RequestMethod.POST,RequestMethod.GET})


你可能感兴趣的:(spring,后端,bug)