- 浏览: 75368 次
- 性别:
- 来自: 苏州
最新评论
-
夜曲6763:
org.apache.axis2.AxisFault: Fir ...
axis2 笔记 -
bestree007:
感谢楼主的总结,最近遇到chunk传输编码的问题。
axis2 笔记 -
stevenjohn:
总结的不错
axis2 笔记 -
stevenjohn:
org.apache.axis2.AxisFault: Fir ...
axis2 笔记 -
paladin1988:
nice,总结的很好。谢谢了
axis2 笔记
文章列表
1.SET DEFINE OFF 的用法;
(摘自:http://hi.baidu.com/wanghp/blog/item/50d8a901fa57e4061d9583c6.html)
在SQL*Plus中默认的"&"表示替代变量,也就是说,只要在命令中出现该符号,SQL*Plus就会要你输入替代值。这就意味着你无法将一个含有该符号的字符串输入数据库或赋给变量,如字符串“SQL&Plus”系统会理解为以“SQL”打头的字符串,它会提示你输入替代变量Plus的值,如果你输入ABC,则最终字符串转化为“SQLABC”。
set define off 则关闭该功 ...
- 2008-09-14 00:03
- 浏览 1175
- 评论(0)
1.只针对不正常的条件才使用异常
异常只应该被用于不正常的条件,它们永远不应被用于正常的控制流。
(摘自:http://blog.csdn.net/jery_lee/archive/2004/10/13/135489.aspx)
//horrible abuse of exceptions. Don't ever do this!
try{
int i=0;
while(true)a[i++].f();
}catch(ArrayIndexOutOfBoundsException e){
}其错有三:
创建、抛出和捕获异常的开销是很昂贵的。因为它的初衷是用于不正常的情形,少有jvm会 ...
- 2008-09-13 23:59
- 浏览 865
- 评论(0)
Config archive-directory in xml file to specify the path of the file generated.
<archive-directory>E:/archive/sample</archive-directory>
In Java:
if(!directory.endsWith("/")||!directory.endsWith("\\")){
directory=directory+File.separator;
}
Java API ...
- 2008-09-12 23:56
- 浏览 1153
- 评论(0)
Foreword: TBL_BPM_HK_PINS save house keep process instances(contains all outdated pins and uptodate pins), TBL_BPM_PMAP save process maps. Maybe the process map has been deleted, so if want to provider a page to manage these pins, cannot use the common join, or there will be some pins cannot be searc ...
- 2008-09-12 22:23
- 浏览 1176
- 评论(0)
1.Cannot contain comments in tag-class when describe a tag.
<tag>
<name>collection</name>
<tag-class>
<!-- com.XXX.XXX.extensions.taglib.iflow.CollectionTag-->
com.XXX.iflow.tray.taglib.CollectionTag</tag-class>
<body-content>JSP ...
- 2008-09-08 21:35
- 浏览 3315
- 评论(0)
1. MSSQL:
field: 默认nullable, primate key 被指定"NOT NULL".
不可以用"DROP TABLE IF EXISTS".
2. 通用SQL函数
连接函数: CONCAT(FIRST_NAME,' ',LAST_NAME) AS FULL_NAME
- 2008-08-21 20:16
- 浏览 770
- 评论(0)
1. MTOM优先于Swa<parameter name="enableMTOM">true</parameter>
<parameter name="enableSwA">true</parameter>
if axis2.xml was configed as above, enableSwA was unenabled because enableMTOM has a high priority.
Now if you try get the haldler, you will get null.
2 ...
- 2008-08-20 22:14
- 浏览 21716
- 评论(6)
1. eval() 可以解析字符串,当作javascript语句执行。比如:eval("5-3*2"),可以制作简单的计算器。eval("alert('Hello World')")这可以执行alert语句。
form.input.value = eval(form.input.value)
2. 数学函数
form.input.value = Math.cos(x);
3. Add a row for t table
<script language="javascript">
function add(){
...
- 2008-08-20 21:56
- 浏览 751
- 评论(0)
文档:
http://www.fckeditor.net/
http://docs.fckeditor.net/FCKeditor_2.x/Users_Guide
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide
1.Download FCKeditor_2.6.3b.zip, copy FCKeditor directory to webapp/.
Delete some unused file:
(1)all folders whose name start with "_" under FCKe ...
- 2008-08-12 22:26
- 浏览 1221
- 评论(0)
转载:作者 Dennis Sosnoski 译者 胡键
http://www.infoq.com/cn/articles/sosnoski-code-first
第一种被称为“由WSDL开始(start-from-WSDL)”,或是“契约优先(contract first)”,牵涉构建一个WSDL服务描述,并直接关联用于数据交换的XML模式。第二种被称为“由代码开始(start-from-code)”,或是“代码优先(code first)”,牵涉将例子服务代码插入你选择的框架,并由那个代码产生WSDL+模式(schema)。
不论使用哪种开发风格,最终目标都是相同的——你想要你的服务有一 ...
- 2008-08-12 22:01
- 浏览 882
- 评论(0)
A lot of talking about AJAX is taking place here and there; AJAX is the acronym of "Asynchronous JavaScript and XML", a technology based on XMLHttpRequest, which is now supported by all main browsers. The basic idea is quite simple - and not actually a breakthrough - but it allows updating ...
- 2008-08-10 17:27
- 浏览 1915
- 评论(0)