poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Deshmukh <adeshm...@hobsons-us.com>
Subject RE: POI appends data when calling class files 2 times.
Date Thu, 30 Jun 2005 12:31:18 GMT
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:Michael.Jovicevic@up2date.it]
> Sent: Thursday, June 30, 2005 6:26 AM
> To: poi-user@jakarta.apache.org
> 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: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message