会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杨文超
博客园
首页
新随笔
联系
订阅
管理
2020年9月16日
浏览器缓存url
摘要: get请求url相同时,浏览器不在请求后台,数据不刷新的一些问题 response.setHeader("Cache-Control", "no-store"); // HTTP 1.1response.setHeader("Cache-Control","No-cache");response.s
阅读全文
posted @ 2020-09-16 20:58 yangyangbugyang
阅读(143)
评论(0)
推荐(0)
2020年8月24日
js调用exe程序适应IE浏览器
摘要: 1.创建WScript.Shell对象 var cmd = new ActiveXObject("WScript.Shell");cmd.run("cmd /c start xxx.exe");遇到一些问题1.本地html文件调用exe可以正常调用,放置tomcat上不能调用,报 Automatio
阅读全文
posted @ 2020-08-24 13:13 yangyangbugyang
阅读(348)
评论(0)
推荐(0)
2018年11月29日
js类型转换函数
摘要: parseInt();将字符串转为整数;parseFloat();将字符串转为浮点型;如果为空还返回NaN 写了一个判断是否为空的函数 function isEmpty(obj){ if(typeof obj == "undefined" || obj == null || obj == ""){
阅读全文
posted @ 2018-11-29 16:42 yangyangbugyang
阅读(446)
评论(0)
推荐(0)
2018年4月24日
jquery
摘要: http://jquery.cuishifeng.cn/
阅读全文
posted @ 2018-04-24 16:50 yangyangbugyang
阅读(101)
评论(0)
推荐(0)
json
摘要: http://rapidjson.org/zh-cn/
阅读全文
posted @ 2018-04-24 16:49 yangyangbugyang
阅读(80)
评论(0)
推荐(0)
2017年11月30日
js数组遍历方式
摘要: for in方式 var a = [1, 2, 3]; for(var i in a){ alert(a[i]); } while方式 var a = [1, 2, 3]; var i = 0; while(i <a.length){ alert(a[i]); i++; } 或者 var i = a
阅读全文
posted @ 2017-11-30 20:03 yangyangbugyang
阅读(144)
评论(0)
推荐(0)
2017年11月29日
java.lang.ClassCastException: org.apache.jasper.el.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl解决方法
摘要: 找到\Tomcat7\conf\context.xml路径下的context.xml文件 <Context> <Loader delegate="true" /> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF
阅读全文
posted @ 2017-11-29 10:28 yangyangbugyang
阅读(2000)
评论(0)
推荐(0)
公告