Do you have a web.xml file in your WEB-INF directory?
-----Original Message-----
From: James Adams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP page not found - any ideas why ?
I made a mistake in the previous posting - the JSP is actually located
in the directory $TOMCAT_HOME/webapps/james1, not $TOMCAT_HOME/james1 as
I originally posted. Unfortunately it appears that my problem isn't as
simple as the erroneous posting leads you to believe. :(
Still stuck...
-James
James Adams wrote:
>
> Hello,
>
> I am attempting to set up my first web application using Tomcat. I have
> taken the following first steps but still no enchilada - the initial JSP
> isn't found when I try to access it (Not Found 404):
>
> - I have put a JSP in a directory named $TOMCAT_HOME/james1. The JSP is
> named Test1.jsp and I'm trying to access it via the URL
> http://localhost:8080/james1/Test1.jsp.
>
> - I have modified $TOMCAT_HOME/conf/server.xml with a context for the
> web application with the following entry:
>
> <Context path="/james1"
> docBase="webapps/james1"
> crossContext="false"
> debug="0"
> reloadable="true" >
> </Context>
>
> - I have restarted Tomcat (not sure if that was necessary).
>
> The JSP uses a servlet whose class is available in
> $TOMCAT_HOME/james1/WEB-INF/classes, but I doubt that this is a problem
> since the page can't even be located.
>
> I am using Tomcat version 3.2.1 on a RedHat 7.0 machine.
>
> Any help or suggestions will be greatly appreciated ! Thanks in
> advance...
>
> -James