我的評(píng)論
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開發(fā)實(shí)戰(zhàn)(八):不是結(jié)局的結(jié)局,談?wù)劤绦騿T的境界 mmwy 2007-08-09 13:22
nslookup出來(lái)只有一個(gè)ip并不一定能說(shuō)明它就沒(méi)做負(fù)載均衡處理。難說(shuō)你得到的這個(gè)ip是前置的負(fù)載均衡交換機(jī)的ip,realserver都躲在其內(nèi)部來(lái)著。
nslookup出來(lái)多個(gè)ip,也許他只是用了最簡(jiǎn)單的dns輪循的負(fù)載均衡處理,也有可能是做了gslb。
nslookup出來(lái)多個(gè)ip,也許他只是用了最簡(jiǎn)單的dns輪循的負(fù)載均衡處理,也有可能是做了gslb。
re: freemarker的空值和默認(rèn)值 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小時(shí)
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小時(shí)
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,估計(jì)apache那幫人就不想讓你在iis上跑tomcat,東西藏得那個(gè)深?。。╣oogle出來(lái)的結(jié)果基本上是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上傳多個(gè)文件時(shí)要注意的問(wèn)題 mmwy 2007-01-08 02:46
用uuid,省事省心:)
re: xfire 1.0 終于final了 mmwy 2006-11-01 16:36
@敵對(duì)
我上面有介紹啊,如果是java來(lái)做client,可以象axis一樣,從wsdl來(lái)生成client,也可以用Dynamic Client的辦法來(lái)生成。
如果是vs.net、C# developer,可以用web references向?qū)?lái)生成client。
如果是delphi 7/2005/2006,有一個(gè)專門的wsdl importer可以生成client代碼的。
我上面有介紹啊,如果是java來(lái)做client,可以象axis一樣,從wsdl來(lái)生成client,也可以用Dynamic Client的辦法來(lái)生成。
如果是vs.net、C# developer,可以用web references向?qū)?lái)生成client。
如果是delphi 7/2005/2006,有一個(gè)專門的wsdl importer可以生成client代碼的。
re: Weblogic download url記載 mmwy 2006-10-26 21:41
re: 筆記:20061015在CentOS4.3上搭建PHP服務(wù)器環(huán)境(GD、libmcrypt、mysql、Oracle10g支持) mmwy 2006-10-15 04:49
受SELinux的影響,啟動(dòng)CentOS時(shí)老停在oracle10g服務(wù)上,看/var/log/message里面有一段"Do you want to choose a different one? [n]"。
參考:CentOS下su的提示信息問(wèn)題(http://www.zeali.net/entry/434)
參考:CentOS下su的提示信息問(wèn)題(http://www.zeali.net/entry/434)
re: webwork2.2.2的富文本編輯器的不完美解決方法 mmwy 2006-09-11 12:31
re: 接觸xfire mmwy 2006-07-29 01:32
我也遇到過(guò),在tomcat里面正常,扔resin下面,wsdl出不來(lái),別的都正常。
re: GroovySOAP mmwy 2006-05-06 12:56
似乎只能調(diào)xfire做的服務(wù)端。
以“http://www.xmethods.net/interfaces/query.wsdl”這個(gè)接口為例,在c# sharpdevelop中正常調(diào)用,換用groovysoap以后,就報(bào)“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,幸福終于來(lái)了,再不用去cvs里面下spring modules代碼了