public static boolean validateUrl(String url) {
		Iterator iter = startOfUrlList.iterator();
		if (url == null) {
			return false;
		}
		if("".equals(url.trim())){
			return false;
		}
		if(urlBlackList.contains(url)){
			return false;
		}
		while (iter.hasNext()) {
			String part = (String) iter.next();
			if (!url.trim().startsWith(part)) {
				return false;
			}
		}
		return true;
	}