----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

on 12/27/99 5:25 PM, Chong Yu Meng <[EMAIL PROTECTED]> wrote:

> How can I get servlets that use JavaMail classes to run on Apache JServ
> ?

Put mail.jar and activation.jar into your wrapper.classpath.

> 1. The class file for my servlet is in the correct directory. If I
> change the code so that it outputs the form contents, it works. If I
> import the JavaMail classes, I get a "Not Found" error. That means, for
> some reason, Apache JServ doesn't recognize class files with JavaMail
> classes inside. Am I correct ?

You are wrong.

> 2. I wrote an application that sends mail from the command line. It
> works. So it seems that the problem affects only servlets.

Bad hypothesis. The problem is your configuration. R E A D  T H E  F A Q.
 
-jon

-- 
Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to