Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Mail from JSP

Johnson Jayaraj
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I tried sending java mail from jsp. It give two errors when running JSp page. They are:
1. <E> <ServletContext-General> Servlet failed with Exception
javax.servlet.ServletException: Caught Exception on JSP: jsp_servlet._mailexample
at jsp_servlet._mailexample._jspService(
2. <E> <ServletContext-General> root cause of Se
rvletException javax.mail.NoSuchProviderException: No provider for Address type: rfc822
Also,I have setted smtp.jar, mail.jar, activation.jar in the class path.
I'm using j2se1.4.1 and j2ee1.2.1, javamail1.3 amd jaf1.0.2.
How to solve this problem.
Please help me solve this.
With Regards
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic