Get properties configuration file


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

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326921725&siteId=291194637