2021年1月6日

cookie、session入门

摘要: 一、cookie是由http制定的 二、使用方法 1.原始方法 使用request接受Cookies请求头 使用response发送set-Cookies响应头 2.常用方法 response.addCookie(); request.getCookies() 三、cookies的path cook 阅读全文

posted @ 2021-01-06 20:31 yq1DB 阅读(75) 评论(0) 推荐(0) 编辑

快速排序

摘要: 定基准 左右快排 阅读全文

posted @ 2021-01-06 15:32 yq1DB 阅读(41) 评论(0) 推荐(0) 编辑

处理GET和POST的中文乱码问题

摘要: 一、doGet 1.先获取iso的错误字符串 2.回退、重编(用UTF-8) String name = request.getParameter("username"); byte[] b = new.getByte("iso-8859-1"); name = new String( b, "ut 阅读全文

posted @ 2021-01-06 14:41 yq1DB 阅读(104) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示