js学习记录

摘要: 2016/1/5 当关闭子窗口的时候父窗口刷新 //覆盖关闭事件,刷新父窗口 window.onbeforeunload = function() { if(window.opener!=null){ window.opener.location.href ... 阅读全文
posted @ 2016-01-05 13:49 冰凉的火焰 阅读(87) 评论(0) 推荐(0)

java 日期判断合法性

摘要: import java.util.*;import java.util.regex.*;import java.text.*;/** 这个是按照楼主的描述使用通过判断字符验证时间合法性 */public class DateUtils2 { //测试代码 begin public static v... 阅读全文
posted @ 2015-12-11 15:58 冰凉的火焰 阅读(632) 评论(0) 推荐(0)

java学习之文件下载

摘要: java代码-package com.hisun.auth.demo.controller;import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.FileNotF... 阅读全文
posted @ 2015-12-04 08:43 冰凉的火焰 阅读(201) 评论(0) 推荐(0)