Hi,
I try to process the java inputStream I can get from an embeded object. But the WHILE-condition for reading the stream allways returns null.
Thanks you in advance,
Lars
My Code looks like the following:
========================
BufferedReader datainputStream = new BufferedReader(currentItem.getInputStream());
String data = new String();
StringBuffer cdata = new StringBuffer();
while ((data = datainputStream.readLine()) != null) {
System.out.println("reading : " + data);
cdata.append(data);
}
System.out.println(cData.toString());
========================