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
eclipse git 报错:the current branch is not configured for pull No value for key branch.xxx.merge found in configuration
如图:
这是因为 在用gui创建分支的时候 config文件没有创建branch
在config文件加上
[branch "xxx"]
...
分类:
系统相关 时间:
2014-06-05 05:15:19
阅读次数:
326
freemarker
1、错误描述
java.io.FileNotFoundException: Template user.ftl not found.
at freemarker.template.Configuration.getTemplate(Configuration.java:580)
at freemarker.template.Configuration.getT...
分类:
其他好文 时间:
2014-06-05 03:05:45
阅读次数:
247
今天在centOS下装mysql时出现了一个错误:
解决方案就是如图所示kill 4734 kill 4839
最后再执行[root@localhost src]# service mysql start就可以了...
分类:
数据库 时间:
2014-06-05 02:03:02
阅读次数:
409
命令模式,将一个请求封装为一个对象,从而使你可用不同的请求对客户进行参数化,对请求排队或记录请求日志,以及支持可撤销的操作。
Command类,用来声明执行操作的接口。
ConcreteCommand类,将一个接受者对象绑定于一个动作,调用接受者相应的操作,以实现Execute。
Invoker类,要求该命令执行这个请求。
...
分类:
其他好文 时间:
2014-06-05 01:58:24
阅读次数:
277
WPF的XAML提供了一系列功能强大、用法复杂的 mini-language
来描述可扩展应用程序标记语言 (XAML) 中的几何路径。如下所示: XAML Command Name Description F i FillRule
i=0:EvenOdd. i=1:NonZero. M x y M...
分类:
其他好文 时间:
2014-05-31 05:04:37
阅读次数:
289
java.lang.Exception: No tests found matching
Method deleteById(cn.bytestream.mongodb.MongoDB4CRUDTest) from
org.junit.internal.requests.ClassRequest@2...
分类:
数据库 时间:
2014-05-31 03:23:50
阅读次数:
483