Commit 689522ff authored by yanzg's avatar yanzg

异常处理显示

parent 9c1d2b1e
...@@ -120,7 +120,6 @@ public class CookiesHelper { ...@@ -120,7 +120,6 @@ public class CookiesHelper {
Cookie cookie = new Cookie(key, value); Cookie cookie = new Cookie(key, value);
// 设置根目录生效 // 设置根目录生效
cookie.setPath("/"); cookie.setPath("/");
cookie.setDomain("*");
// 服务器把cookie响应给客户端,所有的cookie对象,都会在服务器端创建,通过http响应给客户端(浏览器) // 服务器把cookie响应给客户端,所有的cookie对象,都会在服务器端创建,通过http响应给客户端(浏览器)
response.addCookie(cookie); response.addCookie(cookie);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment