大家能够松一口气了,这个组件比較简单,这一节和前面几节想比,也简单的多。 Logger接口 Tomcat中的日志记录器都必须实现org.apache.catalina.Logger接口。 package org.apache.catalina; import java.beans.PropertyC ...
分类:
其他好文 时间:
2017-06-22 20:48:49
阅读次数:
216
Mixin works as a function. Here, we use include keyword to inlcude a mixin file. Exec a mixin function we can use '+': Define a mixin: Here we use som ...
分类:
其他好文 时间:
2017-06-19 23:27:09
阅读次数:
226
题目链接: PKU:http://poj.org/problem?id=3923 HDU:http://acm.hdu.edu.cn/showproblem.php?pid=2487 Description Sheryl works for a software company in the cou ...
1. 用记事本打开 将里面的 #ServerName localhost:80 注释去掉即可。 再执行 然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。 或者使用 curl http://localhost ...
分类:
Web程序 时间:
2017-06-11 23:32:11
阅读次数:
258
Using Lua API and tag method facilities, tolua maps C/C++ constants, external variables, functions, classes, and methods to Lua. How tolua works (1)创建 ...
分类:
其他好文 时间:
2017-06-09 12:33:34
阅读次数:
214
KrisIngmanson replied on I just did this on Win7 Professional and it works. I tested it before and after making the change. 1. Use Registry Editor to ...
When I try converting a matrix to a data frame, it works for me: > x <- matrix(1:6,ncol=2,dimnames=list(LETTERS[1:3],letters[24:25])) > data.frame(x) ...
分类:
其他好文 时间:
2017-05-24 19:19:43
阅读次数:
1580
一、概述 RESTful Web API [Web标准篇]RESTful Web API [设计篇] 在一个空ASP.NET Web项目上创建一个ASP.NET Web API 2.0应用 二、路由 ASP.NET的路由系统:URL与物理文件的分离 ASP.NET的路由系统:路由映射 ASP.NET ...
Boosting is a greedy alogrithm. The alogrithm works by applying the weak learner sequentially to weighted version of the data, where more weight is gi ...
分类:
其他好文 时间:
2017-05-21 14:49:50
阅读次数:
166
VMware中的快照是对VMDK在某个时间点的“拷贝”,这个“拷贝”并不是对VMDK文件的复制,而是保持磁盘文件和系统内存在该时间点的状态,以便在出现故障后虚拟机能够恢复到该时间点。如果对某个虚拟机创建了多个快照,那么就可以有多个可恢复的时间点。 当我们为虚拟机创建的快照时,当前可写的VMDK文件变 ...
分类:
系统相关 时间:
2017-05-21 00:25:19
阅读次数:
174