Try this:

Put the bean .class file at WEB-INF/classes.
Use it in your page through the standard <jsp:useBean /> tags.



Mo Hengnan wrote:
>
> Hi Jayson,
>
> The SMTP bean can not run at my machine, the config of my machine is
> tomacat3.1, apache 1.3.12, jdk1.3
> I already put the bean class into the system classpath
> the error message is the following,
>
> org.apache.jasper.JasperException: Unable to compile class for
> JSPD:\jakarta-tomcat\work\localhost_8080%2Fjsp\_0002ftojar_0002fBeanMailer_0
> 002ejspBeanMailer_jsp_0.java:63: Class tojar.SMTPBean not found.
>                 SMTPBean email = null;
>                 ^

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to