Getting URL in the address bar in the JSP
843789Sep 1 2009 — edited Sep 2 2009Hi all,
I like to get the URL displayed in the address in my JSP .for eg:if the URL is www.abc.com in my view source I need to get that URL in a link field <link href="www.abc.com"/> for the purpose of webtracking.I tried with the window.location in javascript but was not to get the field in JSP and I tried the http header names but not able to get the full URL.
Can anybody help me in this?