Fork me on GitHub
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 41 下一页
摘要: /* * 作用于浏览器的页面跳转方法 * @author XX * @attention 需要导入jquery * @Version V1.0 * * @problem * 不同的浏览器页面是否加载不同,有的是根据访问时间来判断是否重新加载页面的 * 如果用户禁用了浏览器的历史访问记录等某些属性,下 阅读全文
posted @ 2016-08-18 17:34 LinkinStar 阅读(5717) 评论(0) 推荐(0) 编辑
摘要: 之前我用JAVA中的Timer类实现了服务器的定时任务,具体详见之前的博文。 后来发现了一个更简单的实现方式,利用spring中的@Scheduled注解实现觉得简单的很多。 确实spring封装的特别好,实现起来比原来简单多了。 下面是配置。 在spring的xml配置中最上面加入 xmlns:t 阅读全文
posted @ 2016-08-17 22:09 LinkinStar 阅读(4207) 评论(2) 推荐(0) 编辑
摘要: <context-param>的作用: web.xml的配置中<context-param>配置作用 1. 启动一个WEB项目的时候,容器(如:Tomcat)会去读它的配置文件web.xml.读两个节点: <listener></listener> 和 <context-param></contex 阅读全文
posted @ 2016-08-17 21:45 LinkinStar 阅读(1094) 评论(0) 推荐(0) 编辑
摘要: I drove around the school, following the line of traffic. 我开车绕学校随着交通线。 我开车穿过校园,紧跟着大部队。 I was glad to see that most of the cars were older like mine, n 阅读全文
posted @ 2016-08-17 19:55 LinkinStar 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 之前项目中都是前端来新写的页面,对于很多后台管理系统来说,新写页面其实比较麻烦。 最近看到一款还是不错的开源页面框架EasyUi http://www.jeasyui.com/index.php 这是他们的主页,他们的空间和Windows的操作界面很像,但是厉害的是,他们是在浏览器中实现的,很多效果 阅读全文
posted @ 2016-08-17 17:31 LinkinStar 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 只是简单使用nginx玩玩而已,知道能这么用,但是在实际项目中并没有实践过,在项目不大的时候用不到,但是对于理解负载均衡来说还是可以的。 利用虚拟机安装了三个centOS系统,然后顺便装了环境。 这里顺便说一下,不需要转三次系统,装一个系统,配置环境完成之后,另外两个可以使用虚拟机的克隆功能直接克隆 阅读全文
posted @ 2016-08-16 17:54 LinkinStar 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 一般的防火墙用下面这些简单的配置都能达到目的 1) 重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off 2) 即时生效,重启后失效 开启: service iptables start 关闭: service iptables sto 阅读全文
posted @ 2016-08-16 11:18 LinkinStar 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 最近有需求要实现在网页直接查看pdf,word,excel文件。但是实际当中并没有很好的开源插件供我们使用,确实有一些付费的插件不错,也很好用,但是对于我来说都不适合。 现在只是单纯的找到了围魏救赵的方法。 就是先实现显示pdf文件,其他文件用别的方式去转成pdf。虽然这个方法确实不好,但是也是没有 阅读全文
posted @ 2016-08-14 22:17 LinkinStar 阅读(8337) 评论(4) 推荐(0) 编辑
摘要: The red-haired woman looked up. "Can I help you?" 红头发的女人抬头看了一眼说,有什么我能帮助你的吗? "I'm Isabella Swan," I informed her, and saw the immediate awareness light 阅读全文
posted @ 2016-08-14 17:47 LinkinStar 阅读(292) 评论(0) 推荐(0) 编辑
摘要: A long-distance telephone company charges its customers by the following rules: 一个长途电话公司费用告诉它的顾客需要遵循以下的规则 Making a long-distance call costs a certain 阅读全文
posted @ 2016-08-10 20:57 LinkinStar 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 41 下一页