public String getServerVersion(String serverPropertyType, String serverVersionPath)  throws Exception {
	
	final Properties prop = new Properties();
	URL svp = new URL(serverVersionPath);
	InputStream input = svp.openStream();
	 
	try {
 
		prop.loadFromXML(input);
	
	} catch (IOException ex) {
		ex.printStackTrace();
	} finally {
		if (input != null) {
			try {
				input.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}
	
	String version = prop.getProperty(serverPropertyType);
	return version;
	}