> From: Ash B [mailto:[EMAIL PROTECTED] 
> Subject: TomCat Does not recognize my servelt

It's "Tomcat", not "TomCat".

> I added the following to Web.xml in the sample

That should be web.xml, not Web.xml; case matters, even on Windows.

> <url-pattern>/servlet/TestDBTimeExample</url-pattern>

If you use the above mapping, you'll need to use that on the URL you
enter to access it.  Since you didn't bother to tell us what URL you
actually did use, nor what error you're getting, nor anything that might
be in the Tomcat logs, it's rather difficult to say what the problem is.

If you're including "/servlet" in the above mapping due to some
out-of-date book that recommends using the InvokerServlet, throw that
book in the trash - it's dangerous.

> I did add the class file under web-inf/classes

I hope that was WEB-INF/classes (again, case matters).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to