Hi...we solved the problem...
At an unusual way...
First we create an empty sheet and then we delete all rows in this sheet. 

Not really funny but it works...

Yes..i use the constructor HSSFWorkbook.
And i do not pool any instances... But maybe the bea?

Greetings 
Michael

-----Ursprüngliche Nachricht-----
Von: Amol Deshmukh [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 30. Juni 2005 14:31
An: 'POI Users List'
Betreff: RE: POI appends data when calling class files 2 times.

Are you sure you are calling "new HSSFWorkbook()" for every request?
You probably should if not.

Or are you doing some sort of pooling of HSSFWorkbook instances?
Check your pooling algorithm in that case.


~ amol


> -----Original Message-----
> From: Michael Jovicevic [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 30, 2005 6:26 AM
> To: [email protected]
> Subject: POI appends data when calling class files 2 times.
> 
> 
> Hi!
>  
> We are using a bea weblogic 8 server to create excel files with an 
> jsp.
> But when calling the jsp sometimes after another with different db 
> data poi appends these data to the one before.
> Maybe caching problem or wrong creating of Worbook object?
>  
> pls help!
>  
> greetings Michael
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to