Hi,
    Theoretically a simple one, but one that is baffling me / causing some
headache (a relative JSP newbie).
    I have a class - msgsendsample.class - originating from the demo
installation of the JavaMail API - that I have compiled and tested
sucessfully from the command prompt (Win OS). I would now like to execute
the class from a .JSP page. Ie there are 4 default input parameters - "to",
"from","smtp" (SMTP host) and the boolean for session debugging.
    How does one execute the class from a JSP page while passing the
necessary parameters? I have tried instantiating the class but with error.
Once more, from the command prompt I type 'javac msgsendsample
[EMAIL PROTECTED] [EMAIL PROTECTED] mail.my_smtp_ad.com false', and
it works fine. How is this executed from a .JSP page?

All input (preferably syntax!) gratefully received .

Regards

Paul.

P.S My JSP is being executed using the Tomcat server

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to