How to get a URL's real path?
807605Aug 30 2007 — edited Aug 31 2007Hi all,
I need to get the real path(name) of a URL. What I mean is for example:
When you write "http://tr.wikipedia.org/wiki" on your browser, it is automatically directed to the web page, "http://tr.wikipedia.org/wiki/Ana_Sayfa". Also java too can direct "http://tr.wikipedia.org/wiki" this page to that page which is a great thing. However I need to get the real page name which is "http://tr.wikipedia.org/wiki/Ana_Sayfa" when I connect to this page "http://tr.wikipedia.org/wiki" with java' URL and URLConnection classes. Is there a way (by java) that I can get that real page path(name), all help is appreciated, thanks...