File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes setfollowedredirects(urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "setfollowedredirects(urgent)" Watch "setfollowedredirects(urgent)" New topic


Raghu Veer

Joined: Mar 31, 2006
Posts: 3
hi friends,
Do anyone knows : how to setfollowedredirects property of http connection to false.

help me out.

Thanks in advance.

Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
I believe you should use the setRequestProperty() in HttpConnection.


Eduardo Marques
Get ready for your SCMAD certification at - See what all the buzz is about ...
I agree. Here's the link:
subject: setfollowedredirects(urgent)
It's not a secret anymore!