Posted on 2007-02-01 14:41
赵永超 阅读(313)
评论(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"):
}
}