Hello Chandana,
Does the mailbean have a no-args constructor?
Is it available through the classpath?
Is the class name really sunexamples.beans.mailbean, not sunexamples.beans.MailBean?
/Ola

> -----Original Message-----
> From: Srihari Chandana [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 16, 1999 7:17 AM
> To: [EMAIL PROTECTED]
> Subject: Email thro. Jsp and bean
>
>
> Hi everybody,
>             Iam trying to send an email thro. jsp.Iam using
> javamail with
> javawebserver.
> I wrote the the whole mailing logic in a bean using classe
> javax.mail.* ,
> javax.mail.internet.*
> and javax.activation.*
> The problem Iam facing is that the Jsp is returning an error
> page saying
> Unknown exception: javax.servlet.ServletException:  Cannot
> create bean of
> class
> sunexamples.beans.mailbean
> I have tried this using an application program instead of Jsp
> and it is
> working fine.
> So it is obvious that there is no problem  with the javamail classes.
>
> Any advice will be of great value to me.
>
> Thanx and regards,
> Chandana.
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to