tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spyker, Andrew" <>
Subject servlet url-mapping problem - works in tomcat - fails in apache+t omcat
Date Mon, 29 Jan 2001 22:31:48 GMT

I read archives of the mailing list and found a similar post, but the
solution didn't work.  I am trying to migrate from a JSP + servlet web
application I wrote and tested under Tomcat standalone to Apache + Tomcat.
I am running IBM Apache and Tomcat 3.2.1 on NT with Sun Java SE 1.3.
I can't seem to get the servlet to be accessible under Apache.  It works
fine when I go directly to Tomcat as you can see below.  Also note that the
servlet from examples called snoop works both ways so it shouldn't be a
global configuration problem?  Can anyone point out what I am missing?

http://localhost:8080/<web app name>/<servlet name>

http://localhost/<web app name>/servlet/<servlet name>

My web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "">

<servlet-name><servlet name></servlet-name>
<servlet-name><servlet name></servlet-name>

My server.xml:
<Context path="/<web app name>"
  docBase="webapps/<web app name>"

Andrew Spyker (

View raw message