• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java mail demo servlet

 
Metal Zhang
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
Now,I can run the demo servlet now.I have a mail with a "GIF" format picture in my mail box.I can get the mail through the demo servlet.But when I click the hyper link of "Display Attachment",I will see a bad picture flag(with a red cross on it).Ok,I delete the statement "res.setContentType(ct.getBaseType());" in the demo servlet's source code,compile and run it again,I will never see even the bad picture flag but lots of strange codes.I don't know why I can't see the correct picture.How should I do?
Thanx!
------------------
Java lover from hell!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!