public static Properties getProperties(Class<?> classz,String filename) {
		Properties p = new Properties();
		String configPath = getPath(classz,filename);
		try {        	
		            
            InputStream input = new FileInputStream(configPath);
            if (input != null) {
            	p.load(input);
            }
		} catch (Exception e) {
			logger.error("读取配置文件失败",e);
		}
		return p;
	}