public void dd(){
InputStream in = this.getClass().getResourceAsStream("aa.properties");
if(in == null){
in = Thread.currentThread().getContextClassLoader().getResourceAsStream("aa.properties");
}
Properties pr = new Properties();
try{
pr.load(in);
String value = pr.getProperty("key");
System.out.println(value);
}catch(Exception e){}
}