已采纳回答 / 凉风5
String getCharacterEncoding();void setContentType();sendRedirect(java.lang.String location);
2016-10-28
最赞回答 / Jarly杰
list+=request.getParameter("id")+"#";//如果浏览记录超过1000条,清零.String[] arr = list.split("#");if(arr!=null&&arr.length>0){ if(arr.length>=1000) { list=""; }}Cookie cookie = new Cookie("ListViewCookie",list);response.addCookie(cookie...
2016-10-28
已采纳回答 / 凉风5
String getParameter(String name);String [] getParameterValues(String name);void setAttribute(String,Object);Object getAttribute(String name);String getServerName();
2016-10-27