• 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

IOException for image

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, all:
I have a Java web application. in one page I have two picture
as the Title images. Whenever I run the application in the
TOMCAT3.2 server, in the console window I always see the following message:
2001-03-22 12:46:47 - Ctx( /MyWebApplication ): IOException in: R( /MyWebApplication + /images/MyWeb.gif + null) Connection aborted by peer: socket write error
2001-03-22 12:46:47 - Ctx( /MyWebApplication ): IOException in: R( /MyWebApplication + /images/Application.gif + null) Connection aborted by peer: socket write error
In fact these two images -- MyWeb.gif & Application.gif are shown on the web page with no problem. I don't know why the server give out these error message.
I put these two images into table and their size is reduced by
IMG object's attribute hight and width. The actual of the image size is bigger than the attributes I defined in the table.
Is it cause that message in the console?
<TD valign="bottom">
<IMG src="../images/MyWeb.gif" higth="26" width="160">   <IMG src="../images/Application.gif" higth="28" width="220">
</TD>
Can any one tell me how to take off these message?

Thank you in advance!

J. Long
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I heard the following explanation for those messages.
Supposedly, your browser has cached those images, but when the page is reloaded it sends a request, but then decides that it doesn't need the images after all and closes the socket.
I have no idea if this is the correct explanation, but thats what I heard.
 
James Long
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
William Brogden
Thank you for your explaination.

J. Long
 
reply
    Bookmark Topic Watch Topic
  • New Topic