2013年1月11日

摘要: long t = System.currentTimeMillis();// 获得当前系统毫秒数,这个是1970-01-01到现在的毫秒数System.out.println("t = "+t);Date da = new Date(t);System.out.println("da = "+da);long currentTime = da.getTime(); // 即时毫秒数System.out.println("currentTime = "+currentTime);System.out.println("curr 阅读全文

posted @ 2013-01-11 10:49 炫谷 阅读(44553) 评论(0) 推荐(0) 编辑

摘要: private static View gsonView(String attributeName) { return gsonView(attributeName, null);}public static final String UTF8 = "UTF-8";@RequestMapping(value = "/example01") public View example01(String cellNum, String passwd, Model model, HttpServletRequest request) { // Cookie取出用户 阅读全文

posted @ 2013-01-11 10:08 炫谷 阅读(7493) 评论(0) 推荐(0) 编辑


Copyright © 2024 炫谷
Powered by .NET 8.0 on Kubernetes