• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Mail from JSP

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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(_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
 
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic