tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: TomCat Does not recognize my servelt
Date Sun, 02 Mar 2008 22:31:08 GMT
> From: Ash B [] 
> 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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message