Hi Guys
I need to get the actual host name of the website. I tried the following code
<%String host_name =request.getRemoteHost();
String port = request.getRemoteHost();
%>
But this code gives the Ip address associated with the host name. Would you guys know how I can get the actual host name
foe example I need to localhost from the following link. Any help would be greatly appreciated
https://localhost/webapp/wcs/stores/servlet/TaxReportingSummaryView?storeId=10001&catalogId=10001&checkInput=true&dateTextFields=haveDates&fromDate=2006-09-18+00%3A00%3A00.000&toDate=2007-09-18+23%3A59%3A59.000Start Free Trial