tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diana Fu <>
Subject url mapping problem
Date Tue, 15 Aug 2000 23:02:15 GMT
i'm learning to run the hello app that was used in the "Developing
Application with Tomcat" doc,
and am running into url mapping problems.

in usr/tomcat/conf/tomcat.conf, i added:
ApJServMount /myapp /root
<Location /myapp/WEB-INF/ >
        AllowOverride None
        deny from all

in usr/tomcat/conf/server.xml, i added:
        <Context path="/myapp" docBase="webapps/myapp" debug="0"

in usr/tomcat/webapps/myapp/WEB-INF/web.xml, i have:



i can get to the servlet by going to
http://localhost/myapp/servlet/Hello as expected.
however, http://localhost/myapp/hello returns:
Not Found
The requested URL /myapp/hello was not found on this server.

it appears that the servlet url mapping isn't working.  what did i do



View raw message