Open H2pl4U opened 5 years ago
https://ilovejava1314.github.io/2018/11/04/cookieAndSession/
文章不够整齐,别的还行
response.setContentType("text/html;charset=utf-8"); PrintWriter w = response.getWriter(); //获取商品名称 String name = request.getParameter("name"); name=new String(name.getBytes("iso8859-1"), "utf-8");
https://ilovejava1314.github.io/2018/11/04/cookieAndSession/