- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 HttpClient
void simpleClient() throws Exception { HttpClient client = new HttpClient(); // 使用GET方法,如果服务器需要通过HTTPS连接,那只需要将下面URL中的http换成https HttpMethod method = new GetMethod("http://www.baidu.com/");
2008-07-18 15:26:00 232
原创 调用部署在websphere上的EJB
public static void main(String[] args) { String naming_factory = "com.sun.jndi.cosnaming.CNCtxFactory"; String namespace_address = "iiop://localhost:2809"; String home_address = "nodes/IT-che
2008-07-17 19:20:00 390
原创 身份证号码验证算法
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">身份证校验<!--function validId(_id) { if(_id ==
2008-07-03 20:43:00 438
原创 时钟
obj=new Object;obj.clockfile="0009-olivegreen.swf";obj.TimeZone="China_Beijing";obj.width=150;obj.height=150;obj.wmode="transparent";showClock(obj);
2008-06-23 10:19:00 226
转载 用Java转化汉字为拼音全拼
package test;import java.util.Iterator;import java.util.LinkedHashMap;import java.util.Set;public class Cn2Spell { private static LinkedHashMap spellMap = null; static { if (spell
2008-05-29 17:38:00 654
原创 Apache XML-RPC与vcXMLRPC实现ajax调用web service
1.XML-RPC server端采用Apache XML-RPCpackage xmlrpc;public class Calculator ...{ public int add(int i1, int i2) ...{ return i1 + i2; } public int subtract(int i1, int i2) ...{
2007-09-12 15:58:00 564
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人