title: Get redirect from httprequest in Java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2659000/java-how-to-find-the-redirected-url-of-a-url">Java - How to find the redirected url of a url?</a>  </p>
  </blockquote>
  
  
  
  <p>Hi all,</p>
  
  <p>Let's say I want to know which Wikipedia page corresponds to this url:
  <a href="http://en.wikipedia.org/wiki/ireland" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/ireland</a></p>
  
  <p>If I navigate it with a browser, I can see that it's <a href="http://en.wikipedia.org/wiki/Ireland" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Ireland</a>.
  is there a way to get the real url from a Java application?</p>
  
  <p>Mulone</p>