Hi,
I am working in Portal 5.1 and using a secure site. The code that I have written in my
JSP is to get the server part of the URL.
String completeUrl = request.getRequestURL().toString();
int indexOfWps = completeUrl.indexOf("/wps/");
String serverPath = completeUrl.substring(0, indexOfWps);
Say if the url is:
https://test-portal.com/wps/myportal/.... etc
I get back
http://test-portal.com instead of
https://test-portal.com Anyone has any idea? I dont think it has anything to do with Portal.