Re: Newbie question.. reading location header
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 19:07:57 +0000
john wrote:
URLConnection newu = u.openConnection();
The code returns some server info, but no rediect info, such as the
redirected link.
By default, it should follow the redirects to the redirected page.
http://download.java.net/jdk6/docs/api/java/net/HttpURLConnection.html#setFollowRedirects(boolean)
Tom Hawtin -- Unemployed English Java programmer http://jroller.com/page/tackline/ .
- Follow-Ups:
- References:
- Newbie question.. reading location header
- From: john
- Re: Newbie question.. reading location header
- From: Rhino
- Newbie question.. reading location header
- Prev by Date: JAVA is DEAD
- Next by Date: Re: J2ME Video Horizontal (where have all the j2me's gone?)
- Previous by thread: Re: Newbie question.. reading location header
- Next by thread: Re: Newbie question.. reading location header
- Index(es):