如果我访问f.e. http://www.euroverlag.de/我将被重定向到http://www.euroverlag.de/gambio/
如何查找转发网址?对于我使用的真实重定向:
URLConnection con = new URL(http://www.euroverlag.de).openConnection();
con.connect();
InputStream is = con.getInputStream();
con.getURL().toString(); // retuns the redirection URL
is.close();