Hello Roland

The code used for reading from the stream was pasted below, I hope this is correct


InputStream in = method2.getResponseBodyAsStream();
             try {

               InputStreamReader inR = new InputStreamReader( in );
               BufferedReader buf = new BufferedReader(inR);
               String line = buf.readLine();
               while ( ( line = buf.readLine() ) != null ) {
                 System.out.println( line );
               }
             } finally {
               in.close();
             }
If this is correct is there any possibility of not getting the expected result.Thank you.

regards
rajapandian.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to