/**进入系统首页*/
@RequestMapping("/index.do")
public String index(HttpServletResponse response)
{
Cookie cookie = new Cookie("jsessionid", "2jcligmgi6fh");
cookie.setMaxAge(Integer.MAX_VALUE);
response.addCookie(cookie);
return "main";
}
spring mvc默认index.jsp页面绑定请求出现的jsessionid=xxx路径的问题
原文:http://alex233.blog.51cto.com/8904951/1856155