tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Wickson" <>
Subject (simple?) servlet context problem
Date Wed, 23 Oct 2002 12:56:05 GMT
 Hi all,

I am using TC 4.1.12 on Win2K as it came, with invoker servlet commented out in the %CATALINA_HOME%\conf\web.xml

I have the following added to the %CATALINA_HOME%\conf\server.xml file:       
<Context path="/greeting" docBase="greeting"  debug="0" reloadable="true" crossContext="true"/>

I have the following web app files:

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

    <!-- Servlet alias -->

    <!-- Fully qualified Servlet class-->

The URL http://localhost:8080/greeting/index.html serves up the html page correctly and this
page tries to invoke the GreetingServlet but the response is trying to use the servlet context
as can be seen from the URL in the following error page message.

The requested resource (/greeting/servlet/GreetingServlet) is not available.

Does anyone know how /servlet/ got into the response URL?


Andy Wickson

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message