How do I use JavaMail with Servlet?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, February 13, 2002 05:21 PM

I have written a servlet using Tomcat3.3a in Red Hat Linux 7.1 which uses JavaMail package.
It compiled ok but when I run it, an error message 500 appears saying..





Internal servlet error

java.lang.NoClassDefFoundError: javax/mail/MessagingException



I have consulted a book on this, it says I have to include class file in both the Java server and the compiler. I dont quite understand this but I have included it in the classpath for my Linux, but that is all.



Please help me with this. Many thanks.

Re: How do I use JavaMail with Servlet?

Posted By:   John_Zukowski  
Posted On:   Friday, February 15, 2002 07:36 PM

Your question is already answered at http://www.jguru.com/faq/view.jsp?EID=259166
About | Sitemap | Contact