gunacesun
asked on
Downloading a large file using Struts2
I'm trying to download data from an Oracle 10g DB using struts2. I create a temp file from the db and download the temp file.
As the temp file is being created on the server, after a few minutes the browser goes blank (closing the connection, I presume). So when the server tries to pass back the created temp file to the browser, it throws a
java.net.SocketException: Broken pipe
exception. I use iBatis, Oracle 10g and JBoss.
How can I prevent the browser from going blank, when the file is still being created on the server.
Thanks.
Ganesh.
As the temp file is being created on the server, after a few minutes the browser goes blank (closing the connection, I presume). So when the server tries to pass back the created temp file to the browser, it throws a
java.net.SocketException: Broken pipe
exception. I use iBatis, Oracle 10g and JBoss.
How can I prevent the browser from going blank, when the file is still being created on the server.
Thanks.
Ganesh.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.