L
Larry S
hey there - i'm having an issue with
HttpServletRequest.getRequestURL() - i dont know if i'm just using the
wrong method, or, if its an apache configuration, OR if its even
possible..?
well, in my JSP pages, i want to use
HttpServletRequest.getRequestURL() to return the URL that i've gone
to. For example, if i call my PC http://www.localpc.com, i want it to
return that. However, it doesn't. It returns the IP address of
http://127.0.0.1.
So, my question is, it it possible to pull exactly what's in the
address bar of the browser via java in a JSP? What am i doing wrong
here?
As always, any help is greatly appreciated!
HttpServletRequest.getRequestURL() - i dont know if i'm just using the
wrong method, or, if its an apache configuration, OR if its even
possible..?
well, in my JSP pages, i want to use
HttpServletRequest.getRequestURL() to return the URL that i've gone
to. For example, if i call my PC http://www.localpc.com, i want it to
return that. However, it doesn't. It returns the IP address of
http://127.0.0.1.
So, my question is, it it possible to pull exactly what's in the
address bar of the browser via java in a JSP? What am i doing wrong
here?
As always, any help is greatly appreciated!