导出page and portlet in IBM portal server
XMLAccess 是一个小型的独立应用程序程序,它使用 HTTP 连接与服务器进行连接。因此,可以访问和远程配置门户网站。)一般在portal 安装目录\bin 下面 xmlaccess.bat。 1. 导出portal page xmlaccess.bat -in d:***\Ex...
linux 命令收集
不显示/etc/services #开头的行, /etc/services文件并没有修改 sed -e ‘/^#/d’ /etc/services | more 2. 忽略前十行,显示后面的内容 sed -e ‘...
在classpath上搜索类
编译器在当前的classloader的classpath上找到类.方法(名字相同的即可,不需要签名相同),并在其中挑选(可能有重载)一个。如果没有找到签名相同的并不会到别的class library中或者上一级classloader中去寻找,而是直接报错。除非当前类中根本就没有这个名字的方法。...
TDD
TDD 优点: 1. 重构的勇气,回归测试一下即可 2. 保证代码的高内聚,低耦合
Javascript的this用法
摘自:http://www.ruanyifeng.com/blog/2010/04/using_this_keyword_in_javascript.html this是Javascript语言的一个关键字。 它代表函数运行时,自动生成的一个内部对象,只能在函数内部使用。比如, f...
Javascript 面向对象编程(一):封装
摘自:http://www.ruanyifeng.com/blog/2010/05/object-oriented_javascript_encapsulation.html Javascript 面向对象编程(一):封装 作者:阮一峰 Javascript是一种基于对象(object-b...
open session in view
摘自:http://community.jboss.org/wiki/OpenSessioninView 问题描述 A common issue in a typical (web-)application is the rendering of the view, after the...
依赖注入方式
DI三种注入方式: 构造函数注入Set方法注入Spring框架中主要采用的方法 接口注入比如Struts2 中的action是POJO,如果需要访问http request, response, session, application, servlet context,需要实现相...
CAP
CAP理论 Eric Brewer , systems professor at the University of California, Berkeley, and at that time head of Inktomi, brought the different trade-of...
AJAX Cross-Domain Same-Origin Policy limitation
AJAX Same-Origin Policy(SOP) limitation摘自: http://www.ibm.com/developerworks/library/wa-aj-jsonp1/ http://www.ibm.com/developerworks/cn/lotus/mash...