Place the mail.jar file in the $CATALINE_HOME/shared/lib folder to make it available to all web apps that your Tomcat server will be hosting, or place it in the WEB-INF/lib of a specific web app.
If you are compiling a bean outside of a JSP, you must make the jar file available to the classpath of the compiler. I highly recommend using
Ant to automate your builds.
[ October 06, 2004: Message edited by: Bear Bibeault ]