Hello,
I can't get any path info transferred to my servlets. When I make a request
looking like this:
http://localhost:8080/mytool/main/action
I get a 404 header, and the tomcat server log says:
- Ctx (/mytool): 404 R( /mytool + /main/action + null) null
though I would want the request to be R( /mytool + /main + /action). What
have I done wrong?
Here's my context setup from server.xml:
<Context path="/mytool"
docBase="webapps/mytool">
And here's my mapping setup from web.xml:
<servlet>
<servlet-name>MyServlet</servlet-name>
<servlet-class>MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/main</url-pattern>
</servlet-mapping>
I'm running tomcat 3.2.1 on FreeBSD 4.3-STABLE #22. Any ideas?
Harri