摘要: session域内跳转保留,跨域不保留。 request.getSession().setAttribute("xxx",xxx);//存储 request.getSession().getAttribute("xxx",xxx);//读取 request.getSession().removeAt 阅读全文
posted @ 2020-06-01 20:37 苍寒栝柏姿 阅读(103) 评论(0) 推荐(0)
摘要: post方法 request.setCharacterEncoding("UTF-8");//传值编码response.setContentType("text/html;charset=UTF-8");//设置传输编码 get方法 1、 String username=request.getPar 阅读全文
posted @ 2020-05-26 20:26 苍寒栝柏姿 阅读(114) 评论(0) 推荐(0)