This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I think I have a problem with CLASSPATH. I like to send e-mail using JSP-JSTTL. Let me first describe the setup and then the error in the JSP page. I am usingRedhat 8.0 box with Tomcat5.0.14,jakarta-taglibs-standard-1.1.0-B1,JavaMail 1.3.1 and JavaBeans Activation Framework 1.0.2. I have copied mail.jar and activation.jarto the lib directory of java installation. Then I modified the java.shin /etc/profile.ddirectory as follows: exportCLASSPATH=$CLASSPATH:$JAVA_HOME/lib/activation.jar:$JAVA_HOME/lib/mail.jar When I do echo $CLASSPATH, I do see the whole path correctly. I have copiedtaglibs-mailer.tldand to $TOMCAT/webapps/myApp1/WEB-INF and copied taglibs-mailer.jarto $TOMCAT/webapps/myApp1/WEB-INF/lib directory. Here is my relevant part of thejsp. I have removed the enclosing brackets taglib uri="http://jakarta.apache.org/taglibs/mailer-1.1" prefix="mt" mt:mailserver="nameofMyserver" to="myE-mailaddress" from="myE-mailaddress" subject="Test mail" > mt:messageThis is a test /mt:message mt:send/ /mt:mail