If you don't already have Java Web Server installed and running, you'll need to download it
from the  Java Web Server  product page and install it. We tested the JavaMailServlet with
these configurations.

(on Solaris)

JavaWebServer 2.0 (binary)
(on NT)
JavaWebServer 2.0 (binary)
To run the JavaMailServlet, you must add the JavaMail and JavaBeans Activation Framework
jar files to the CLASSPATH environment variable (this is documented in the JavaMail README file
and additional Windows NT information is provided here).

Once this is done, restart the web server.
 

Additional Notes

If you run JavaWebServer 2.0 with the Java Runtime Environment (JRE) supplied with
JavaWebServer, no additional security policy is necessary. The security policy file
(i.e. jserv.policy) supplied with the JRE contains the necessary permissions for local servlets.
If you run JavaWebServer 2.0 with another JRE (with an installed JDK for example), you
must add the necessay security policy for running under a SecurityManager.