1 基本知识
由于struts2是在webwrok的技术基础上开发的,采用拦截器的机制来处理用户请求的全新MVC框架。而webwork是建立在成为xwork的command模式框架之上的强大的基于web的MVC框架。所以总而言之,无论是struts2还是webwork底层都是xwork。如果看过struts源码的朋友肯定会发现struts中导入好多xwork2类。下面就xwork做一个...
分类:
其他好文 时间:
2014-06-07 01:53:47
阅读次数:
256
ld: library not found for -lxxxxxxxx
clang: error: linker command failed with exit code 1 (use -v to see invocation)...
分类:
其他好文 时间:
2014-06-05 12:42:28
阅读次数:
386
1.找到设备的identifier
2.进入https://developer.apple.com
3.点击devices
4.把identifier加入并注册
5.打开xcode,按command+,
6.点击你的证书,进入view details
7.刷新即可...
分类:
移动开发 时间:
2014-06-05 08:31:16
阅读次数:
282
版本:2.6.33.4
发送端 tcp_write_xmit 函数
/* This routine writes packets to the network. It advances the
* send_head. This happens as incoming acks open up the remote
* window for us.
*
* LARGESEND no...
分类:
其他好文 时间:
2014-06-05 04:15:28
阅读次数:
236
命令模式,将一个请求封装为一个对象,从而使你可用不同的请求对客户进行参数化,对请求排队或记录请求日志,以及支持可撤销的操作。
Command类,用来声明执行操作的接口。
ConcreteCommand类,将一个接受者对象绑定于一个动作,调用接受者相应的操作,以实现Execute。
Invoker类,要求该命令执行这个请求。
...
分类:
其他好文 时间:
2014-06-05 01:58:24
阅读次数:
277
eclipse 4支持css切换,rcp可以根据自己定义的css进行切换...
分类:
Web程序 时间:
2014-06-02 22:33:04
阅读次数:
394
Examplescp file1.txt newdirCopies
thefile1.txtin the current directory to thenewdirsubdirectory.cp
/home/public_html/mylog.txt /home/public_html/backu...
分类:
系统相关 时间:
2014-06-01 12:24:00
阅读次数:
263
分享几个常用的Xcode插件。第一个, 规范注释生成器VVDocumenter。顾名思义, 它可以很方便的为你自动添加注释使用效果如下:下载链接:https://github.com/onevcat/VVDocumenter-Xcode使用说明:1.前往GitHub下载工程文件:VVDocumenter-Xcode2.用Xcode打开工程,Command + BBuild成功后,可以在~/Libr...
分类:
移动开发 时间:
2014-06-01 00:19:39
阅读次数:
326
当你定义了一系列的变量时,需要写很多的getter和setter方法,而且它们的形式都是差不多的,,所以Xcode提供了@property
和@synthesize属性,@property用在 .h 头文件中用作声明,@synthesize用在.m
文件中用于实现。如下,新建一个基于“Command...
分类:
移动开发 时间:
2014-05-31 20:58:20
阅读次数:
487