The moose likes Servlets and the fly likes Tomcat errors on standard out while running. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Tomcat errors on standard out while running." Watch "Tomcat errors on standard out while running." New topic
Author

Tomcat errors on standard out while running.

mo patel
Greenhorn

Joined: Mar 07, 2001
Posts: 15
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

Joined: Mar 07, 2001
Posts: 15
Note this problem does not occur when I use Netscape as the browser.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
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:


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
mo patel
Greenhorn

Joined: Mar 07, 2001
Posts: 15
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.
 
 
subject: Tomcat errors on standard out while running.
 
Threads others viewed
Bilingual JSP application
embedded js file in doGet
I am doing something wrong, WHAT???
Is there any one who can help me...Please?
weird error log
developer file tools