ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Reading and Writing Excel Files with POI
Subject:   Recods Insertion in Excel file through java
Date:   2007-02-10 03:57:11
From:   Ashluuu
Response to: Recods Insertion in Excel file through java

Hi,


I faced the same problem. My problem got solved after making following changed.


Try the following


a)If the file already exists create the workbook instance with the constructor passing fileInputStream paramater.


b)Close the outputStream instance after writing into the file.


Regards,
Sreekar