Wrox Programmer Forums
|
BOOK: Professional Apache Tomcat
This is the forum to discuss the Wrox book Professional Apache Tomcat by Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler; ISBN: 9780764543722
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2005, 08:39 AM
gwb gwb is offline
Registered User
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
problems sending mail with java mail gandacuboy J2EE 2 December 20th, 2006 03:05 PM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
Sending both text mail and HTML mail - CDONTS madhukp Classic ASP Basics 1 October 8th, 2003 01:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.