• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Tomcat errors on standard out while running.

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im planting HTML in out.println() for example ...
out.println(" <td height=\"42\"><font color=\"#FFFFFF\" size=\"2\"><img src=\"http://10.70.252.251:8080/images/search.jpg\" alt=\"Search RFCs by any term in the description\" border=\"0\"></font></td>");
.... more image stuff
However when the srvlet loads the page to the web pc, the servlet somtimes issues these errors...
2001-03-06 04:42:44 - Ctx( ): IOException in: R( + /images/search.jpg + null)
Connection aborted by peer: socket write error

On most images. However the images are in the images directory in ROOT on tomcat there names are exactly as they should be i.e case and spelling are correct. The images are even displayed correctly on the web page.
What does this mssg mean, and why does it not appear all the times.
 
mo patel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Note this problem does not occur when I use Netscape as the browser.
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't suppose it is the cause of your problem, but in general it is much easier to type and maintain if you use ' for quoting your attribute values. This is pewrfectly valid HTML and XML, and much easier to generate and process in Java:
 
mo patel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Frank Carver:
[B]I don't suppose it is the cause of your problem, but in general it is much easier to type and maintain if you use ' for quoting your attribute values. This is pewrfectly valid HTML and XML, and much easier to generate and process in Java:
[/B]


Cheers frank my previous C background shines through with my code. Ive had Lots of problems with using the single quote so ive gone back to backslashing quotes etc.
The HTML is automatically brought in from Dreamweaver and then seded with the backslashes and quotes.
 
They weren't very bright, but they were very, very big. Ad contrast:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic