- 博客(8)
- 资源 (9)
- 收藏
- 关注
原创 iphone 中对象之间通讯
在iphone中,对象通信使用的三种技术1.代理(delegate);2.通知(notification);3.目标-行为(target-action).
2010-09-02 22:12:00 636 2
原创 怎样旋转模拟器
将程序发布到Android的时候,常常需要来回切换宽窄屏查看显示效果,操作方法是:按住键盘左边的Ctrl+F11,我曾经尝试按键盘右边的Ctrl+F11但是没有效果,这个问题有点困惑。
2010-07-25 12:25:00 631
原创 初始化 init 必须去做的四件事
在写初始化方法的时候,下面这四个步骤是不能少的: 1.首先需要调用超类的初始化方法:[super init];2.必须更新自己的self变量:self = [super init];3.必须检查一下self对象是不是可用的:if(self);4.必须再结尾处返回自身对象:return self;给个完整例子:-init{self = [super init];if(self != nil){//需要处理的内容}return self;}
2010-07-16 22:32:00 751
原创 windows xp 查看端口是否占用
在windows下调试php经常碰到apache启动端口被占用的问题,可能有flashget, 迅雷等占用端口,我们如何查看是哪些程序占用了端口呢?C:Usersinetdemon>netstat -nao|find "0.0.0.0:80"Local Address Foreign Address State PID TCPTCP 0.0.0.0:80 Pacers:0 LISTENING
2010-04-23 23:46:00 3701
转载 Struts2中iterator标签遍历map总结
1.MapAction.java Java代码 package com.zx.demo.action; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.open
2009-07-12 21:54:00 1179
转载 一个优雅的js日期时间控件
document.write("");document.write("");function writeIframe(){ var strIframe = "<!--"+ "*{font-size: 12px; font-family: 宋体}"+ "-->"+ "*{font-size: 12px; font-family: 宋体}
2009-06-28 20:15:00 4502 1
原创 jstl-sql使用
Jstl 是个功能强大的标签库。其中,sql标签可以实现从数据库中拉出数据到界面的功能。下面详细介绍其使用方法。在eclipse(JEE)中创建Denymic Web Project。项目名称为"jstl-sql"。拷贝jstl.jar,standard.jar,mysql-connector-java-3.1.14-bin.jar三个jars到lib目录下;创建一个名为index.
2009-06-23 19:51:00 970
转载 [SQLServer]数据库行列互换
面试的时候遇到的数据库SQL问题,没写过,然后研究了一下,现将结果记录下来,方便以后查询。 题目1:将表tbltest1的行列互换 表结构:student kemu fenshustudent1 语文 80 student1 数学 90 student1 英语 85 student2 语文 85 student2
2009-06-15 22:45:00 3290
Learning UML 2.0
2010-04-20
Effective C++ and More Effective C++.chm
2010-04-19
Expert Oracle Database Architecture 9i and 10g programming Techniques and Solutions
2009-06-28
js日期时间控件-日期,时间
2009-06-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人