标签:
@Action("sidTest") public void sidTest() { HttpSession session = request.getSession(); String id=getParameter("sid"); Cookie cookie=new Cookie("JSESSIONID", id); cookie.setPath("/"); response.addCookie(cookie); }
标签:
原文地址:http://www.cnblogs.com/Hexllo/p/5860329.html