Posted on 2007-02-01 14:41
趙永超 閱讀(320)
評論(0) 編輯 收藏 所屬分類:
java
public class SysUtils{
Properties property = new Properties();
InputStream is = null;
try{
is = SysUtils.class.getClassLoader().getResourceAsStream("system.properties");
property.load(is);
String s = property.getProperty("CMS_URL");
}catch(Excption e){
System.out.println("hi"):
}
}