准备条件: STS(集成了Spring相关工具的Eclipse) 步骤: Eclipse中新建一个动态的web工程。选择Tomcat 7.0,在WebContent-->WEB-INF-->lib目录下添加以下jar包。 spring-aop-4.3.3.RELEASE.jar spring-bea ...
分类:
编程语言 时间:
2016-12-26 00:32:41
阅读次数:
244
Farmer John has N hills on his farm (1 <= N <= 1,000), each with an integer elevation in the range 0 .. 100. In the winter, since there is abundant sn ...
分类:
其他好文 时间:
2016-12-25 17:45:19
阅读次数:
220
tomcat 安装好之后,只需要把你的程序包放到$Tomcat_Home$/webapps下就可以直接使用了。这样会使webapps越来越大就需要设置虚拟目录: 1.单个应用设置: 在<Host>和</host>之间加上 <Context path="/site" docBase="d:\site" ...
分类:
其他好文 时间:
2016-12-25 17:37:16
阅读次数:
173
一、自动爬虫的创建,需要指定模版 如: scrapy genspider -t crawl stockinfo quote.eastmoney.com crawl : 爬虫模版 stockinfo :爬虫名称,后续敲命令执行爬虫需要输入的 quote.eastmoney.com :起始网址 通过 s ...
分类:
编程语言 时间:
2016-12-25 14:01:19
阅读次数:
229
About ln ln creates links between files. Description ln creates a link to file TARGET with the name LINKNAME. If LINKNAME is omitted, a link to TARGET ...
分类:
系统相关 时间:
2016-12-25 13:47:20
阅读次数:
408
一、首先介绍lucene涉及到的排序过程 1.1、如何自定义排序对象 你可以自定义collector对象; 亦可以自定义comparator对象; 可以自定义scoredoc对象,决定如何处理结果集合; 1.2、这几种自定义之间有何区别? 自定义collector和comparator有什么区别呢? ...
分类:
Web程序 时间:
2016-12-25 07:37:06
阅读次数:
552
Execute_Query command is used to fetch all the records for current database data block in Oracle Forms, actually its executes query in current data bl... ...
分类:
数据库 时间:
2016-12-25 02:11:51
阅读次数:
347
最近想尝试做两件比较重要的事情,第一是用python写个cmdb,第二还是用python写个小型监控系统,下面是获取系统信息的脚本: ...
分类:
其他好文 时间:
2016-12-24 20:32:51
阅读次数:
290
如果以前安装过mysql,卸载重装,很可能会碰到”A Windows service with the name MySQL already exists.“这样的提示。即服务已经存在。我们可以在window任务管理器 服务中查看,发现确实存在,没有卸载干净。 解决这个问题,可以在dos窗口,使用如 ...
分类:
数据库 时间:
2016-12-24 07:36:21
阅读次数:
231
You are given two linked lists representing two non-negative numbers. The most significant digit comes first and each of their nodes contain a single ...
分类:
其他好文 时间:
2016-12-24 02:19:11
阅读次数:
205