//UIBarButtonItem的几种常用初始化方法
//使用带文本的button方式来初始化
UIBarButtonItem *fiveItem = [[UIBarButtonItem alloc] initWithTitle:@"天气"style:UIBarButtonItemStyleDone target:nil action:nil];
...
分类:
其他好文 时间:
2014-11-04 15:09:07
阅读次数:
163
xxx.phtml文件与aaaController.php文件中的xxxAction()方法貌似是绑定的,有没有这样的可能性,xxx.phtml中表单的action能指定aaaController.php中指定的函数执行呢,因为xxxAction()会随着xxx.phtml加载而执行,不能控制。求解...
分类:
其他好文 时间:
2014-11-04 14:30:46
阅读次数:
233
4.LoadRunner请求无法找到:在录制Web协议脚本回放脚本的过程中,会出现请求无法找到的现象,而导致脚本运行停止。错误现象:Action.c(41): Error -27979: Requested form. not found [MsgId: MERR-27979]Action.c(41...
分类:
其他好文 时间:
2014-11-04 13:06:18
阅读次数:
143
struts2的结果类型:type="chain"> successAction ${name}struts2中的结果类型有下面几种: ...
分类:
其他好文 时间:
2014-11-04 13:04:22
阅读次数:
142
1,回调没用, /adminparty/adminparty!setProcedure.action" onsubmit="return checkform();" method="post" id="form" target="actionframe">
分类:
其他好文 时间:
2014-11-04 13:01:46
阅读次数:
157
错误现象1:Action.c(16): Error -27728: Step download timeout (120 seconds) has expired whendownloading non-resource(s)。错误分析:对于HTTP协议,默认的超时时间是120秒(可以在LoadRu...
分类:
其他好文 时间:
2014-11-04 12:56:02
阅读次数:
233
struts2手动验证:* 首先要从页面中获取对应的标签name属性的值,在动作类action中声明同名的属性,提供get和set方法* 要继承ActionSupport类或者实现Validateable接口* 重写Validateable接口的validate()方法* 前提是:要保证setUse...
分类:
其他好文 时间:
2014-11-04 10:57:36
阅读次数:
187
awk命令胡使用awk是一款功能强大的文字处理软件,可以以列为单位,来处理并显示出我们需要的信息,其用法如下:1)awkoption‘parttern{cmd}......‘awk常用的选项是-F指定列的分隔符awk-F:‘partern{action}‘就是每行以:作为分隔符,第一列为$1,$2,.....其中$0代表整行。awk中有..
分类:
其他好文 时间:
2014-11-04 07:03:46
阅读次数:
150
1、基础知识 (1) 所有Touch事件都被封装成了MotionEvent对象,包括Touch的位置、时间、历史记录以及第几个手指(多指触摸)等。 (2) 事件类型分为ACTION_DOWN, ACTION_UP, ACTION_MOVE, ACTION_POINTER_DOWN, ACTIO...
分类:
移动开发 时间:
2014-11-03 22:46:39
阅读次数:
365
1. spring介绍
简单来说,Spring是一个轻量级的控制反转(IoC)和面向切面(AOP)的容器框架。
struts 是 web 框架(jsp/action/actionfrom)
hibernate 是 orm框架,处于持久层.
spring 是容器框架,用于配置bean,并维护bean之间关系的框架
2. spring的好处
Ø 低侵入式设计,代码污染极低
Ø ...
分类:
编程语言 时间:
2014-11-03 22:42:04
阅读次数:
372