我的評論
re: 難道這是spring的小BUG?? mmwy 2008-02-07 00:33
可以寫成
<property name="jndiName" value="java:comp/env/jdbc/feng"/>
<property name="jndiName" value="java:comp/env/jdbc/feng"/>
re: SpringSide開發實戰(八):不是結局的結局,談談程序員的境界 mmwy 2007-08-09 13:22
nslookup出來只有一個ip并不一定能說明它就沒做負載均衡處理。難說你得到的這個ip是前置的負載均衡交換機的ip,realserver都躲在其內部來著。
nslookup出來多個ip,也許他只是用了最簡單的dns輪循的負載均衡處理,也有可能是做了gslb。
nslookup出來多個ip,也許他只是用了最簡單的dns輪循的負載均衡處理,也有可能是做了gslb。
re: freemarker的空值和默認值 mmwy 2007-05-09 14:32
${user?if_exists}
${user?default('your name')}
${user?default('your name')}
re: 在birt2.1.2中顯示條形碼 mmwy 2007-04-08 13:25
寫在birt的腳本里面也行
<image id="4">
<method name="onCreate"><![CDATA[
importPackage(java.io);
importPackage(Packages.jbarcodebean);
importPackage(Packages.org.apache.commons.codec.digest);
code="ABCDEF-01234567-ZYX";
f = new java.io.File(java.lang.System.getProperty("java.io.tmpdir"), "barcode_" + DigestUtils.md5Hex(code) + ".gif");
//條碼緩存1小時
if (!f.exists() || java.lang.System.currentTimeMillis() - f.lastModified() > 1000 * 60 * 60) {
bb = new JBarcodeBean();
bb.setCodeType(new Code128());
bb.setShowText(true);
bb.setBarcodeHeight(45);
bb.setCode(code);
bb.gifEncode(new FileOutputStream(f));
}
this.file=f.getAbsolutePath();
]]>
</method>
</image>
<image id="4">
<method name="onCreate"><![CDATA[
importPackage(java.io);
importPackage(Packages.jbarcodebean);
importPackage(Packages.org.apache.commons.codec.digest);
code="ABCDEF-01234567-ZYX";
f = new java.io.File(java.lang.System.getProperty("java.io.tmpdir"), "barcode_" + DigestUtils.md5Hex(code) + ".gif");
//條碼緩存1小時
if (!f.exists() || java.lang.System.currentTimeMillis() - f.lastModified() > 1000 * 60 * 60) {
bb = new JBarcodeBean();
bb.setCodeType(new Code128());
bb.setShowText(true);
bb.setBarcodeHeight(45);
bb.setCode(code);
bb.gifEncode(new FileOutputStream(f));
}
this.file=f.getAbsolutePath();
]]>
</method>
</image>
re: win2003上iis與tomcat的整合 mmwy 2007-03-19 15:56
用“web service extensions” site:apache.org搜了一下google,TNND,估計apache那幫人就不想讓你在iis上跑tomcat,東西藏得那個深啊!(google出來的結果基本上是maillist的東西)
The setup file included here and the script to add the ISAPI filter work just fine in IIS6, but there is one additional step needed. You must also allow access to the filter through the Web Service Extensions part of IIS. To do this graphically, do the following:
1) open the IIS Manager and go to the Web Service Extensions item under the appropriate server 2) Click the "Add a new Web service extension" item under "Tasks" 3) Give it a name like "jakarta" 4) Browse to the isapi_redirect.dll file you installed above as a "Required File" 5) Check the box to enable this extension
The setup file included here and the script to add the ISAPI filter work just fine in IIS6, but there is one additional step needed. You must also allow access to the filter through the Web Service Extensions part of IIS. To do this graphically, do the following:
1) open the IIS Manager and go to the Web Service Extensions item under the appropriate server 2) Click the "Add a new Web service extension" item under "Tasks" 3) Give it a name like "jakarta" 4) Browse to the isapi_redirect.dll file you installed above as a "Required File" 5) Check the box to enable this extension
re: smartUpload上傳多個文件時要注意的問題 mmwy 2007-01-08 02:46
用uuid,省事省心:)
re: xfire 1.0 終于final了 mmwy 2006-11-01 16:36
@敵對
我上面有介紹啊,如果是java來做client,可以象axis一樣,從wsdl來生成client,也可以用Dynamic Client的辦法來生成。
如果是vs.net、C# developer,可以用web references向導來生成client。
如果是delphi 7/2005/2006,有一個專門的wsdl importer可以生成client代碼的。
我上面有介紹啊,如果是java來做client,可以象axis一樣,從wsdl來生成client,也可以用Dynamic Client的辦法來生成。
如果是vs.net、C# developer,可以用web references向導來生成client。
如果是delphi 7/2005/2006,有一個專門的wsdl importer可以生成client代碼的。
re: Weblogic download url記載 mmwy 2006-10-26 21:41
re: 筆記:20061015在CentOS4.3上搭建PHP服務器環境(GD、libmcrypt、mysql、Oracle10g支持) mmwy 2006-10-15 04:49
受SELinux的影響,啟動CentOS時老停在oracle10g服務上,看/var/log/message里面有一段"Do you want to choose a different one? [n]"。
參考:CentOS下su的提示信息問題(http://www.zeali.net/entry/434)
參考:CentOS下su的提示信息問題(http://www.zeali.net/entry/434)
re: webwork2.2.2的富文本編輯器的不完美解決方法 mmwy 2006-09-11 12:31
re: 接觸xfire mmwy 2006-07-29 01:32
我也遇到過,在tomcat里面正常,扔resin下面,wsdl出不來,別的都正常。
re: GroovySOAP mmwy 2006-05-06 12:56
似乎只能調xfire做的服務端。
以“http://www.xmethods.net/interfaces/query.wsdl”這個接口為例,在c# sharpdevelop中正常調用,換用groovysoap以后,就報“org.codehaus.xfire.fault.XFireFault: this is a soap-encoded endpoint”的異常了。
using System;
using Hello.www.xmethods.net;
namespace Hello
{
class MainClass
{
public static void Main(string[] args)
{
XMethodsQuery query=new XMethodsQuery();
IDNamePair[] result=query.getAllServiceNames();
for(int i=0;i<result.Length;i++)
Console.WriteLine(result[i].id+"\t"+result[i].name+"\n");
}
}
}
re: Spring集成Groovy mmwy 2006-02-07 09:11
HOHO,幸福終于來了,再不用去cvs里面下spring modules代碼了