drawRect:()默认是什么都不做的,1.如果基础一个UIView,子类可以使用Core Graphics框架和UIKit在这个方法中完成绘制操作。2.如果使用其他方法设置子类的content,可以不适用这个方法。如:你只是改变背景颜色,或者使用他的underlying layer对象(包括直接...
分类:
其他好文 时间:
2014-07-14 09:50:15
阅读次数:
221
现在开始学习第三章,jQuery中的Dom操作。 以前我也看过w3school的dom,看过了很迷,不知道dom是什么。1,dom是文档对象模型,dom操作分为3类:Dom Core(核心),HTML-DOM,CSS-DOM(1)Dom Core(核心):主要有getElementById(),g....
分类:
Web程序 时间:
2014-07-14 08:13:41
阅读次数:
385
启动namenode,通过50070端口查看,发现livenode只有一个--namenode,查看datanode日志,发现有”Incompatible clusterIDs“错误,提示很明显,namenode和datanode的集群id不一致解决办法:找到core-site.xml配置文件,进入...
分类:
其他好文 时间:
2014-07-14 00:54:10
阅读次数:
196
经过测试 效果明显 (1)首选查看apache的工作模式windows下的查看apache的工作模式命令:httpd -l如果列出mod_win32.c,则表示是 win32.c 工作方式。 列出的全部内容如下所示:core.cmod_win32.cmpm_winnt.chttp_core.cmod...
分类:
其他好文 时间:
2014-07-14 00:11:02
阅读次数:
333
1、错误描述
2014-7-13 1:45:53 org.apache.struts2.spring.StrutsSpringObjectFactory info
信息: ... initialized Struts-Spring integration successfully
2014-7-13 1:45:54 org.apache.catalina.core.StandardContext...
分类:
编程语言 时间:
2014-07-13 13:52:00
阅读次数:
527
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-7-12 14:05:45 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded...
分类:
编程语言 时间:
2014-07-13 00:12:08
阅读次数:
563
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-7-10 23:00:04 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded...
分类:
数据库 时间:
2014-07-12 23:09:14
阅读次数:
715
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-7-12 14:19:28 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded...
分类:
编程语言 时间:
2014-07-12 21:53:24
阅读次数:
2376
ngx_event_core_module模块属于事件模块,它是其它事件类模块的基础。它主要完成以下任务:
创建连接池决定使用哪些事件驱动机制初始化将要使用的事件模块
下面分析该模块的代码。
ngx_event_core_module的ngx_command_t数组定义如下:
/* ngx_event_core_module对7个配置项感兴趣 */
static ngx...
分类:
其他好文 时间:
2014-07-12 20:13:25
阅读次数:
330