@Action("sidTest") public void sidTest() { HttpSession session = request.getSession(); String id=getParameter("sid"); Cookie cookie=new Cookie("JSESSIONID", id); cookie.setPath("/"); response.addCookie(cookie); }
@Action("sidTest") public void sidTest() { HttpSession session = request.getSession(); String id=getParameter("sid"); Cookie cookie=new Cookie("JSESSIONID", id); cookie.setPath("/"); response.addCookie(cookie); }