Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IOException for image

 
James Long
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
William Brogden
Thank you for your explaination.

J. Long
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic