运行mahout in action上的cluster示例时报错:Error: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected 确定是版本问题,我的hadoop版本是2.4,但mahout目...
分类:
其他好文 时间:
2014-06-18 11:07:10
阅读次数:
394
1.在Action中定义,context用于传递搜索条件和分组条件,在搜索视图中默认显示: 示例代码: Leaves Summary hr.holidays form tree,form {'search_default_group_type': 1, ...
分类:
其他好文 时间:
2014-06-18 10:22:52
阅读次数:
333
查看指定帐号的授权信息 1 select OBJECT_NAME (id), USER_NAME (uid), 2 case action 3 when 193 then 'select' 4 when 195 then 'insert' 5 when 196 then 'delete' 6 whe...
分类:
其他好文 时间:
2014-06-18 09:50:52
阅读次数:
184
一个项目,会含有一些配置文件,在项目启动时进行加载。我们重要的是学习这些规范:1.单个状态的更新这种一般出现在一个简单的字段更新上, json 如:可用/mis/fm/setfmChaRemiMeses.action?r...
分类:
其他好文 时间:
2014-06-18 09:38:38
阅读次数:
215
#include #include #include char a[1000001],b[1000001];int next[1000001];int l,l2;void Getnext(){ int i=0; int j=-1; next[0]=-1; while(i=l2...
分类:
Web程序 时间:
2014-06-18 09:29:37
阅读次数:
221
///一般处理程序 string action = context.Request["action"]; var adapter= new T_UserTableAdapter(); ...
分类:
其他好文 时间:
2014-06-18 08:54:47
阅读次数:
183
要把struts2的action交给spring管理,这样spring才能帮struts2注入需要的的bean(一开始action是由struts初始化,所以想注入spring里面的bean是注入不了的)
struts2 的filter生成action的时候由spring管理
struts2向spring要action
struts2是主导(struts2有个插件,要action的时候向这个...
分类:
编程语言 时间:
2014-06-18 08:07:13
阅读次数:
196
1.1 ActionProxy接口以及实现
ActionProxy在struts框架中发挥着非常重要的作用。通过webwork和xwork交互关系图可以看出,它是action和xwork中间的一层。 正因为ActionProxy的存在导致Action调用更加简洁。接下来我们一起研究下这个核心类。
1.1.1 ActionProxy接口方法
图 3.3.1 Ac...
分类:
其他好文 时间:
2014-06-18 07:48:10
阅读次数:
148
tomcat
edit configurations配置问题:
在deployment选项卡内加入artifact到服务器,在Application context选择应用的上下文路径。
热部署:
在tomcat配置 Server选项卡内 On Update action 选择Update classes and resource
...
分类:
其他好文 时间:
2014-06-18 07:03:44
阅读次数:
231
NFS客户端配置为开机自动挂载时,系统启动报错。报错信息类似:mount:mount:mounttoNFSserver‘172.16.1.254‘failed:mount:SystemError:Noroutetohost.原因:网络启动后需要对网络内路由表进行“学习”。在未完成路由表学习之前启动netfs服务会报错。解决方法:延后netfs启动时..
分类:
其他好文 时间:
2014-06-17 18:42:04
阅读次数:
214