Hi every body,

I wrote a simple class, in which there is a method that sends email.

When I call this class from some other class it works fine and sends

the email, as it should. However when I call this method from a JSP

page, it gives error, where I am creating the Session object e.g.,

Session s = Session.getDefaultInstance(props);

 

I would like to know why it gives error when I call it from the JSP page?

Thank you

Ammar

 

___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to