`
蒲冬英的约定
  • 浏览: 124445 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论
文章列表
转自http://www.cnblogs.com/zengwei/archive/2007/11/02/946520.html     熟练window对象的open、close、alert、confirm、prompt、setTimeout、clearTimeout、setInterval、clearInterval、moveBy、resizeBy、scrollBy方法的使用     掌握window对象的moveTo、resizeTo、scrollTo、print方法的使用     熟练掌握window对象的status、location、name、self、opener属性的使用Win ...
由于项目需求,定时刷新页面,从库里查找数据页面显示,现提供我的实现方式 1.10分钟刷新一次 <% response.setHeader("refresh","600"); %> 下面这俩是网上的资料 2.jsp加代码实现方式   网页头部加 <meta http-equiv="refresh" content="3"> 是三秒刷新一次 3.js实现方式 <script> setTimeout("self.location ...
项目需求,算出两个月之间差几个月,不足一月按一个月算,即8月1日到9月2日就算两个月了,8月1日到9月1日就算一个月了,从网上找点资料,接合自己的需求,写出自己的js方法,现提供出来,供大家参考,例如开始日期为20110801,截止日期为20110902 function setRateValidity(){ var beginDate = document.getElementById("crlimit:beginDate").value; var endDate = document.getElementById("crlimit:end ...
可以使用ajax实现这一联动效果,但由于项目需求,使用ajax实现有点问题,现提供一种不用ajax的实现效果! jsp代码 <f:selectOneMenu id="provice" value="#{Test.provice}" onchange="createOption(); <h:selectItem itemValue="" itemLabel="--请选择--" /> <h:selectItem itemValue="1" ite ...
工作中用到的数据库是informix,记录下自己碰到的问题,也方便大家参考,不断更新中…… 1.选择插入语句   有时我们需要从一个表中选取几个字段插入到另一个表中 insert into test2(aaa,bbb,ccc,ddd) select aaa,bbb,ccc,ddd from test1 2.给表中新增一个时间类型的字段,要求格式为年月日时分秒 alter table test add import_time datetime year to second 3.从表里查找前五位数字是66666的数据,除了like ‘66666%’写法外,再提供一种写法 select * ...
最近项目有这样一个需求,要求把数据加密放入数据库,用到的时候还要解密,MD5加密可以,但不能解密,现提供DES算法,没必要研究它怎么实现的,拿过去直接用就是了 import java.security.*; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; public class DESPlus{ private static final String PA ...
使用MyEclipse时导入项目时不小心导致文件夹创建出现了恐怖的递归,创建了一个超级长的文件夹。尝试着删除,资源管理器,或者命令行下del都用了,还是搞不定。网上查了后,终于解决了。 http://download.zol.com.cn/detail/10/91484.shtml下载robocopy,然后解压robocopy.rar 假如超长文件夹的路径是E:\bill_monitor\bill_monitor\bill_monitor\bill_monitor..... 1.把robocopy.exe可以复制到E:\bill_monitor 2.在E:\bill_monitor下新建一个空 ...
最近做项目遇到一个Filter需要配置多个url-pattern,上网查了下资料,经测试,现总结下 一、完全错误的方式 <filter> <filter-name>authority</filter-name> <filter-class>com.util.AuthorityFilter</filter-class> </filter> <filter-mapping> <filter-name>authority</filter-name> <url-pat ...
Global site tag (gtag.js) - Google Analytics