Hi,
My pages are on a Apache +Tomcat server, but when
I compile my .java file (the one supposed to send mail) with the
"javac myfile.java" command, I always have an error message telling me
the imports javax.mail.*..... (only) haven't been found.
But, when I write the code directly on my jsp file (+ the javax.servlet.*,
javax.servlet.http.*, javax.mail.*, javax.mail.internet.* imports), the
mail is delivered normaly.
My java file is in the folder WEB-INF / classes /
If one of u have an idea on how to compile this file, I'd be glad to know it,
(whether it is compiled on the server, or on my computer)
Thank you for your answer(s)
JM
===========================================================================
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