Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Problem with exporting data from JSP to excel sheet
posted 10 years ago
I am trying to export data from my
I used the following code in my JSP.
It is working fine sometimes but at times it throws the following error.
Error 500: HTTP/1.1 408 Connection timed out while reading request Server: WebSphere Application Server/5.1 Content-Type: text/html Content-Length: 142 Connection: close
If i remove this,
response.setHeader("Cache-Control", "max-age=0"), i am able to save the excel without any error but i am not able to directly open the excel without saving it.
My browser is IE 5
Karthik <br />SCJP 1.4 SCWCD 1.4 SCBCD 1.3
I agree. Here's the link:
Opening excel sheet separately
Setting the column width of an Excel
remove cache from java code in jsp
problem in headers and content types
problem when downloading excel sheet from struts application using Internet explorer