poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Pojman <ipoj...@jmlafferty.com>
Subject Re: POI servlet output
Date Mon, 03 Mar 2003 15:16:52 GMT
It was Mac OS X and IE - and it worked fine in resin - must be a tomcat  
bug. I got the same code to work by using a JSP - go figure!
On Friday, February 28, 2003, at 11:49 AM, Andrew C. Oliver wrote:

> It actually depends on the version of IE and potentially the version  
> of windows (depending on whether IE + Windows's mime-type settings are  
> set/interacting well)
>
> -Andy
>
> nicolas kakaridis wrote:
>
>> On the same subject,
>>
>> I have tomcat and I build HSSFWorkbook in a servlet, serialyse on the  
>> response OutputStream and set the content type. Everything was ok,  
>> and from now when the binary file exceed a certain size, the content  
>> is displayed in IE and not in MS access. It is strange because It  
>> worked fine before. And I didn't change anything on the Response...
>>
>>
>>> There is a faq at http://jakarta.apache.org/poi/faq.html#faq-7
>>>
>>> but i dont know if it will help you since you say that it works with
>>> resin and not with tomcat. Can you be more specific about what you  
>>> mean
>>> by "messes up" ?
>>>
>>> On Wed, 2003-02-26 at 20:42, Ian wrote:
>>> > I know this is sortof off list, but does anyone have code that  
>>> serves a
>>> > HSSFWorkbook out from a servlet? got it workign on resin fine days  
>>> ago
>>> > but catalina messes up the binary file somehow. I'veg checked my  
>>> code
>>> > aagin and again, wondered if anyone else has run up against this.
>>> > havent tried response.reset() yet but that's my only idea. tried
>>> > various mime types. using getOutputStream and writing the doc just  
>>> as a
>>> > i woudl to a FileOutputStream (which works fine under tomcat -  
>>> just not
>>> > writing directly out)
>>> >
>>> > thanks
>>> > Ian
>>> >
>>> >
>>> >  
>>> ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>> > For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>> >
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>>
>>
>>
>> _________________________________________________________________
>> The new MSN 8: advanced junk mail protection and 2 months FREE*  
>> http://join.msn.com/?page=features/junkmail
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>


Mime
View raw message