tags:

views:

84

answers:

1

i want how to follow the link...

for example the link : http://example.com/hi.php

this will redirect another page to http://example.com/vi.php

then this will redirect another page to http://example.com/ji.html

so i need to get the page link "http://example.com/ji.html"

i think, i cant in java.. so have possible in java curl?

thanks advance

+1  A: 

See

Apache Http Client 4.0 using parameter "http.protocol.handle-redirects"

Ben Ziegler