aspose file tools*
The moose likes Servlets and the fly likes java.net.SocketException: Broken pipe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "java.net.SocketException: Broken pipe" Watch "java.net.SocketException: Broken pipe" New topic
Author

java.net.SocketException: Broken pipe

Pongsakorn Semsuwan
Ranch Hand

Joined: May 15, 2011
Posts: 34

not sure if I should post in this forum or jsp or others..

situation is

I have a servlet that query data from db and store it in vector, then set it to session before forward to jsp page.

For jsp page, the directive " <%@ page contentType="application/vnd.ms-excel" %> " is used at the top of page to make it excel.
There is only one job for this page which is loop that vector to display table.

These work just fine if I click 'open' or 'save' button that is poped up (which will show when use your browser to call excel files ) within, likes, 10 seconds.
But if I leave that dialog box wait more than about 10 seconds, This error occurs




Any suggestion to fix this problem?
It seems like time out problem if you ask me.

Thanks in advance. ( and sorry for my bad english )


more information : This error doesn't occur if query result is small.



A web application developer wannabe from Thailand
My StartUp : http://www.dreamlog.co
Blog : http://pongsakornsemsuwan.wordpress.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net.SocketException: Broken pipe