获取properties配置文件


private static final ResourceBundle resourceBundle = ResourceBundle.getBundle("parameter");// 得到配置文件
String path =resourceBundle.getString("file_upload_path");

猜你喜欢

转载自yuhuiblog6338999322098842.iteye.com/blog/2227638