摘要: 1.Cookie: Cookie它是存储在客户端或者客户端浏览器上的文本文件,很容易就可以查看到.所以,不能使用Cookie存储敏感数据,比如银行卡密码不能使用Cookie来做必要的功能。Cookie不能存储中文使用URL编码来简介存储中文username = URLEncoder.encode(u 阅读全文
posted @ 2018-02-05 19:59 Arvins 阅读(1816) 评论(0) 推荐(0) 编辑
摘要: eg:public class Test { public static void main(String[] args) { int[] arr={6,3,8,2,9,1}; System.out.println("排序前数组为:"); for(int num:arr){ System.out.p 阅读全文
posted @ 2018-02-05 19:29 Arvins 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Controller:@InitBinderpublic void DataBinder(ServletRequestDataBinder binder){ binder.registerCustomEditor(Date.class,new CustomDateEditor(new SimpleD 阅读全文
posted @ 2018-02-05 18:31 Arvins 阅读(145) 评论(0) 推荐(0) 编辑