2015年7月16日
摘要: 1、path 常使用绝对路径 path = request.getContextPath(); basepath = request.getscheme+"://"+request.getServerName+":"+request.getServerPort+path ... 阅读全文
posted @ 2015-07-16 23:57 _故乡的原风景 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1、 timer = new Timer(true) TimerTask task = new TimerTask(){ public void run(){ test(); } } timer.schedule(task,0,2000) timer.cancel 阅读全文
posted @ 2015-07-16 13:27 _故乡的原风景 阅读(108) 评论(0) 推荐(0) 编辑