From fc2a1cad96fbd45fb11faafcb4f1e90b0f6595f9 Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Wed, 12 Jun 2002 08:09:27 +0000 Subject: [PATCH] New FAQ - thanks Avik! git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352678 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/xdocs/faq.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/documentation/xdocs/faq.xml b/src/documentation/xdocs/faq.xml index 887ea30da..8fe16cd55 100644 --- a/src/documentation/xdocs/faq.xml +++ b/src/documentation/xdocs/faq.xml @@ -109,5 +109,22 @@ public static boolean isCellDateFormatted(HSSFCell cell) { } + + I'm trying to stream an XLS file from a servlet and I'm having some trouble. What's the problem? + + +

+ Dont depend on IE to show you an attachment properly if you stream it via a + servlet. Every minor version of IE has different bugs. +

+

+ To guarantee it to work, instead of doing a server-side redirect + (requestdispather), try doing a client side redirect to your xls file. Thats + guaranteed to work ... (also keep in mind that *sometimes* IE makes TWO + requests for a document that is opened by an external handler .. so if your xls + production is heavy, you might have a problem.) +

+ +