You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Christoph Jaeger <ch...@dhl.com> on 2003/07/21 16:31:39 UTC
IE loads Excel-Sheet twice
Hi,
I apologize if this is a bit off topic, but I thought someone on this
list may have experienced the same problems and found a solution
already.
I use POI to generate reports from a database. POI is used in a servlet,
which serves the Excel sheet to a web-browser.
Everything is fine for small sheets (several hundred to a few thousand
rows). The result is just as expected. But when I try to do a bigger
query (say, 7000 rows) IE behaves strangely: first a request is sent to
the server to generate the Excel file. This file is downloaded (as it
seems), but when the next page comes up in IE, showing Excel, the Excel
program sends a second request to load the sheet. This time, the session
information (included in a cookie) is "forgotten", and so the query does
not work (does only work for logged in users, but without session
information I can not determine the user).
The same thing works without any problems on my Linux box using Galeon
as a web browser (and Gnumeric or Open Office to view the Excel sheet).
Has anyone on this list already experienced a similar problem?
Thanks a lot,
Best Regards,
Christoph Jäger
Re: IE loads Excel-Sheet twice
Posted by Lior Shliechkorn <li...@yahoo.com>.
For some reason IE sends a request twice. It was something I ran into as well, however, I never ran into an issue where session variables were unaccessible. So I have no idea what that could be.
Christoph Jaeger <ch...@dhl.com> wrote:Hi,
I apologize if this is a bit off topic, but I thought someone on this
list may have experienced the same problems and found a solution
already.
I use POI to generate reports from a database. POI is used in a servlet,
which serves the Excel sheet to a web-browser.
Everything is fine for small sheets (several hundred to a few thousand
rows). The result is just as expected. But when I try to do a bigger
query (say, 7000 rows) IE behaves strangely: first a request is sent to
the server to generate the Excel file. This file is downloaded (as it
seems), but when the next page comes up in IE, showing Excel, the Excel
program sends a second request to load the sheet. This time, the session
information (included in a cookie) is "forgotten", and so the query does
not work (does only work for logged in users, but without session
information I can not determine the user).
The same thing works without any problems on my Linux box using Galeon
as a web browser (and Gnumeric or Open Office to view the Excel sheet).
Has anyone on this list already experienced a similar problem?
Thanks a lot,
Best Regards,
Christoph J�ger
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!