You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Giorgio Ponza <gi...@opla.it> on 2003/04/09 16:53:22 UTC

Servlet Mapping again

Sorry guys, i need some help
I have Tomcat 4.1.18LE1.4 installed on a RH 8 dist, Apache 2.0.44 with
mod_jk 1.2.2
My tomcat server.xml has this virtual host

<Host name="www.mysite.it" debug="0" appBase="webapps/mysite"
unpackWARs="true">
<Context path="" docBase="" debug="0"
reloadable="false">.....</Context></Host>

I have 1 servlet in /webapps/mysite/WEB-INF/classes/MyServlet.class

in my web.xml i have the servlet-mapping
<servlet>
  <servlet-name>bannerupload</servlet-name>
  <servlet-class>BannerUploadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>bannerupload</servlet-name>
<url-pattern>/bannerupload</url-pattern>
</servlet-mapping>

But if i try to visit the page http://www.mysite.it/bannerupload
i always get an HTTP 404 error.
Anyone can help me? tx a lot

Giorgio Ponza



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org