aspose file tools*
The moose likes Servlets and the fly likes Tomcat and the servlet of java mail demo Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat and the servlet of java mail demo " Watch "Tomcat and the servlet of java mail demo " New topic
Author

Tomcat and the servlet of java mail demo

Metal Zhang
Ranch Hand

Joined: Aug 05, 2001
Posts: 52
Hi all~~
I compiled the demo servlet and run it on Tomcat.When I login to the servlet,I can see a table which says there are 2 messages in the INBOX folder(I just sent 2 mails to my mail box to test the servlet).It seemed that nothing was wrong.But when I clicked the hyperlink of the "INBOX"(belongs to the folder name field of the table),the next page appeared but didn't finish immediately even if a very long time passed.So I went to see the Tomcat's console.I can see errors appear line by line.The errors are listed below:
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Connection reset by peer: socket write error
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
2001-08-14 11:52:19 - Ctx( /WebMail ): IOException in: R( /WebMail + /servlet/Ja
vaMailServlet + null) Not an ISO 8859_1 character:��
I don't know what happened.Would you like to tell me what made this happen and how to resolve it.
Thank you very much.

------------------
Java lover from hell!


Java lover from hell!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat and the servlet of java mail demo