![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小技巧
文章平均质量分 82
huqiub
这个作者很懒,什么都没留下…
展开
-
IE下使用Firebug
IE版的Firebug和Firefox一样,但速度慢了点,具体操作很简单。首先新建一个Favarite,然后设置其URL为以下内容即可。javascript:var%20firebug=document.createElement(script);firebug.setAttribute(src,http://getfirebug.com/releases/lite/1.2/fi原创 2009-08-03 10:18:00 · 331 阅读 · 0 评论 -
层控制
首先是JS代码: /* * Thickbox 3.1 - One Box To Rule Them All. * By Cody Lindley (http://www.codylindley.com) * Copyright (c) 2007 cody lindley * Licensed under the MIT License: http://www.opens原创 2009-09-07 14:29:00 · 356 阅读 · 0 评论 -
读取资源配置文件
前面说过通过spring得到资源文件,现在我在说下直接得到直接得到资源文件 1.通过ResourceBundle得到。 eg:ResourceBundle rb = ResourceBundle.getBundle("test"); String test1 = rb.getString("tset1"); String test2 = rb.getSt原创 2010-01-03 23:33:00 · 222 阅读 · 0 评论 -
spring mail
做了一个简单的spring mail的功能,使用Freemarker模板创建HTML内容: java代码: import java.io.UnsupportedEncodingException;import java.util.Map;import javax.mail.MessagingException;import javax.mail.internet.Mim原创 2010-05-04 15:18:00 · 355 阅读 · 0 评论 -
比较时间的大小
function test(){ comptime('2010-06-08 20:01','2010-06-08 21:01'); } function comptime(beginTime,endTime){ var beginTimes=beginTime.substring(0,10).split('-'); var endTimes=endTime.substring(0,10).split('-'); beginTime=beginTimes[1原创 2010-06-08 18:29:00 · 221 阅读 · 0 评论