The forum operates in read-only mode. Please head to StackOverflow for support.
String _sProtocol = request.getProtocol(); if (_sProtocol.startsWith("HTTPS")) { _sProtocol = "https://"; } else { _sProtocol = "http://"; } String _sURL = _sProtocol+request.getServerName(); if (request.getServerPort() != 80) { _sURL = _sURL + ":"+request.getServerPort(); } _sURL = _sURL + request.getContextPath(); Node root=CreateCommonXml(document,commandStr,typeStr,currentFolderStr,_sURL+currentPath);
Re: Full URL in Image Properties from Browser
String _sProtocol = request.getProtocol(); if (_sProtocol.startsWith("HTTPS")) { _sProtocol = "https://"; } else { _sProtocol = "http://"; } String _sURL = _sProtocol+request.getServerName(); if (request.getServerPort() != 80) { _sURL = _sURL + ":"+request.getServerPort(); } _sURL = _sURL + request.getContextPath(); Node root=CreateCommonXml(document,commandStr,typeStr,currentFolderStr,_sURL+currentPath);