/*******************end of bhasker's code***************************/
String line = ""; String xmlString = ""; while ( (line = in.readLine()) != null ) { xmlString += line + "\n"; line1 = decode(line);//bc (bg6346) 01/18/02 line1 = line1.substring(10); //bc (bg6346) 01/18/02 oos.write(line1);//bc (bg6346) 01/18/02 System.out.println("CREATING AND SAVING THE XML FILE"); //bc (bg6346) 01/18/02
} I am writing to an file using outputStream writer. The file is around 315 lines. Somehow it is not writing the complete file. It writes only 305 lines, sometimes 291 lines. does any of you have any idea. If you want i can give the input string and the exact code
Bhasker Reddy
Matthew Phillips
Ranch Hand
Joined: Mar 09, 2001
Posts: 2676
posted
0
This also belongs in the IO and Streams forum. I will move it there.