response.cookies
String fullContentType = “application/json;charset=UTF-8”;response.setContentType(fullContentType);//告知客户端响应正文类型response.setHeader(“Cache-Control”, “no-cache”);//控制浏览器不要缓存//设置允许跨域response.setHeade...