Tomcat 5 and Mail
I'm running Tomcat 5.5. The Apache Tomcat 5 book includes procedures to get mail working. Several issues:
1. When compiling SendMailServlet with compile.bat I get the following error: javac: invalid flag: Files/Apache
What's that all about? I converted to run as jsp and all compiles OK, but I want to run as a servlet.
2. jsp-examples does not have a jsp directory for tomcat 5.5.9. Consequently, it has no mail directory. There is no jsp-examples.xml file in conf/localhost. Anyway, I don't want to run from jsp-examples. I have an app, say, APP1. Where do I put the Contxt descriptor - in the web.xml under APP1/WEB-INF? Or do I create I create an APP1.xml file in conf/localhost with the context descriptor?
It simply isn't clear what xml files I should be adding all of this info to to make it all work. Clarification would be very helpful.
Thanks,
Greg.
|