Properties prop = new Properties();
InputStream in=this.getClass().getClassLoader().getResourceAsStream("imgPath.properties");
prop.load(in);
//获取真实路径
String imgRealPath = prop.getProperty("imgRealPath").trim();
InputStream in=this.getClass().getClassLoader().getResourceAsStream("imgPath.properties");
prop.load(in);
//获取真实路径
String imgRealPath = prop.getProperty("imgRealPath").trim();
String imgPath = prop.getProperty("imgPath").trim();