Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setfollowedredirects(urgent)

 
Raghu Veer
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,
Do anyone knows : how to setfollowedredirects property of http connection to false.

help me out.

Thanks in advance.

Raghu
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you should use the setRequestProperty() in HttpConnection.

eg
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic