问题描述
这是我的jsp页面
在标题中我已经放置了
<head>
<Meta Http-Equiv="Cache-Control" Content="no-cache">
<Meta Http-Equiv="Pragma" Content="no-cache">
<Meta Http-Equiv="Expires" Content="0">
</head>
<body>
<a href="logout">logout</a></li>
<input type="hidden" id="fullname" name="fullname" value="${fullname}" >
</body>
这是我的控制器方法
@RequestMapping(value="/logout",method= RequestMethod.GET)
public ModelAndView logout(HttpServletRequest request,HttpServletResponse response,String fullname) {
ModelAndView mav = new ModelAndView();
HttpSession session = request.getSession();
session.removeAttribute(fullname);
session.invalidate();
mav.addobject("logout",true);
mav.setViewName("Home2");
return mav;
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)