Ferruccio Spagna wrote:

>>Personally I think JSPs are TOTALLY inappropriate for (well just about
>>everything other than demonstrating how to program non object oriented
>>code) binary output.  I would highly recommend you use a servlet.
>>    
>>
>
>I can agree with you. Nevertheless I tried to write a clean JSP page with
>some POI code and the Excel file was finally created and avalaible via a
>link on the same page. Why not? The only problem is now that IExplorer
>doesn't open Excel automatically (Netscape does), or can I do something for
>this? I tried to stream to the client an xls from a servlet that specifies
>the content-type without having better result.
>  
>
Some versions of IE ignore the content-type and use the file extension. 
 With a servlet you can work around this by mapping a handler.  You can 
probably do this with a JSP somehow or other, but I'm not sure how.

-Andy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to