• Post Reply Bookmark Topic Watch Topic
  • New Topic

Classpath problem in Redhat 8  RSS feed

Arun Bommannavar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
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

The root cause of the error is as follows:

Could anyone tell me whatsthe solution? I understand that the ..jar files are not being found but when I do echo $CLASSPATH, the jar files are shown correctly.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!