You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Tim Fleming <tf...@ids-software.com> on 2000/01/21 18:50:55 UTC

Web-App problem with latest build

The following <appname>/WEB-INF/web.xml servlet (jsp) definition 
worked (somewhat) with Tomcat 3.0 but doesn't do anything with the 
latest build:

...
  <servlet>
    <servlet-name>app</servlet-name>
    <display-name>Application</display-name>
    <description>Front Controller</description>
    <jsp-file>Main.jsp</jsp-file>
  </servlet>

  <servlet-mapping>
    <servlet-name>app</servlet-name>
    <url-pattern>/app/*</url-pattern>
  </servlet-mapping>


When I access http://localhost:8080/<appname>/app I get Error 404 - 
File not found.  The jsp is <appname>/Main.jsp.  Tomcat is creating 
the /<appname> context.

Help!

Thanks