Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

java.net.SocketException: Broken pipe

 
Ranch Hand
Posts: 34
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!