• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.net.SocketException: Broken pipe

 
Ranch Hand
Posts: 34
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Trust God, but always tether your camel... to this tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic