Properties versionProperties = new Properties();
InputStream in = LoginAction.class.getClassLoader().getResourceAsStream("version.properties");
versionProperties.load(in);
this.versionNum = versionProperties.getProperty("version");
struts2 action中读取properties文件内容
最新推荐文章于 2019-06-08 10:27:00 发布