File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "" Watch "" New topic

Varun Jain

Joined: Dec 21, 2009
Posts: 4
Hi All,

I am trying to fetch some data from website using java code and I am getting this exception.
Any idea how to rectify it?
I have tried System.setProperty(max.Redirects...) but this does not work... Server redirected too many times (20)
at Hello.addCorporate(
at Hello.main(
Ankit Tripathi
Ranch Hand

Joined: Oct 17, 2009
Posts: 199
What can be a solution for that.I am also facing same problem
I agree. Here's the link: