jsp
dhq_blog
这个作者很懒,什么都没留下…
展开
-
js定时任务
每日0晨执行一个方法的js定时任务: function getCarCheckCode() { $.ajax({ type:"POST", url:"${ctx}/carCheckCode.do", dataType:"json", success:function(resp) { document.getElementById("carcheckcode").inne...原创 2018-05-21 16:07:23 · 7743 阅读 · 0 评论 -
jsp使用绝对路径引用盘符里面的突破问题
在tomcat 的 server.xml 中配置虚拟路径。假如你的工程名为 news,上传后的目录为 d:/upload在 server.xml 中加上一行:<Context path="/news/upload" docBase="d:/upload" />以后就可以使用 http://localhost:8080/news/upload/20091111/xxx.d...原创 2018-11-28 21:52:17 · 121 阅读 · 0 评论 -
jquery和普通用法的等价关系
jquery和普通用法的等价关系document.getElementById("trimgs").style.display = "none";和$("#img1").show();等价document.getElementById("img1").src=jsonObj.path1;和$("#img1").attr('src',jsonObj.path1);等价document...原创 2018-12-31 02:51:37 · 326 阅读 · 0 评论 -
tomcat 设置只通过域名既可实现登入
tomcat设置直接通过域名访问项目(不需要接 /项目名)2016年09月19日 14:25:48MQ-HZ阅读数:35443版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_33647275/article/details/52585489效果图打开 tomcat - ->conf- ->server.x...原创 2019-04-09 01:47:23 · 459 阅读 · 0 评论