int firstSlash = requestURL.indexOf(":");
int firstSlash = requestURL.indexOf("/");
    private String getRequestServerName(HttpServletRequest request) {    	    	String requestURL = request.getRequestURL().toString();    	    	// Remove https://    	requestURL = requestURL.substring(8);    	int firstSlash = requestURL.indexOf(":");    	// Remove port and application path    	requestURL =requestURL.substring(0,firstSlash);				return requestURL;	}