Have a read of:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/appdev/index.html
Specifically the bit where it says "Copy unpacked directory hierarchy
into a subdirectory in directory $TOMCAT_HOME/webapps/."
Ie, if you want http://localhost:8080/james1/Test1.jsp to work, you need
to put the JSP in $TOMCAT_HOME/webapps/james1/Test1.jsp, and restart
Tocmat.
You only need to modify server.xml if your webapp resides outside the
$TOMCAT_HOME/webapps/ directory (it auto-deploys from there).
--Jeff
On Thu, Aug 23, 2001 at 04:18:30PM -0600, 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.
[snip]
>
> -James