/**进入系统首页*/
@RequestMapping("/index.do")
public String index(HttpServletResponse response)
{
Cookie cookie = new Cookie("jsessionid", "2jcligmgi6fh");
cookie.setMaxAge(Integer.MAX_VALUE);
response.addCookie(cookie);
return "main";
}
时间: 2024-10-20 06:51:09