以下代码用来读取URL资源文件
java.net.URL urls = new java.net.URL(paramfile); InputStream is = urls.openStream(); Properties dbprops = new Properties(); dbprops.load(is);
本文地址:http://com.8s8s.com/it/it15366.htm