File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Java Mail from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Java Mail from JSP" Watch "Java Mail from JSP" New topic
Author

Java Mail from JSP

Johnson Jayaraj
Greenhorn

Joined: Feb 26, 2003
Posts: 4
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(_mailexample.java:129)
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
Johnson


Johnson Jayaraj
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Mail from JSP
 
Similar Threads
Problem Calling EJB from JSP
Deploying WAR file Weblogic 8.1
problem with jsp:useBean ...Pl help
JSP compile error
Error 500 while accessing jsp