Could you please suggest me on that.
Exception is java.net.ProtocolException: Server redirected too many times (20)
Following is Code Snippet
URL docuPresentmentEndPoint = null;
URLConnection printUrlConnection = null;
docuPresentmentEndPoint = new URL(url);
printUrlConnection = docuPresentmentEndPoint.openConnection();
// Let the run-time system (RTS) know that we want input.
// Let the RTS know that we want to do output.
BufferedReader br = new BufferedReader(new InputStreamReader(printUrlConnection.getInputStream()));