How to find whether a page is redirecting or not?
<p>I wanna know that how we can identify whether a page is redirecting to some other web page or not?</p>

<p>I'm using URLConnection class of java. 
One way that i know is, to check the headerfield 'Location' of the connection established.</p>

<p>But i'm not getting the solution :-(</p>

<p>Plz assist.</p>
