Hi,

I seem to have a similar problem to many others when running TomCat for the first time.
I can run the TomCat examples OK, but cannot run my own tests.
I tried to run an example called 'greeting' from Ch7 of Wrox's Java Server 
Programming.  This suggests putting the code under the %TOMCAT_HOME%\webapps\myDir and 
includes the web.xml file etc, but I get HTTP Status 404 resource not available.
I also followed a Sun example which suggested putting the code under 
%TOMCAT_HOME%\webapps\ROOT but this fails in the same way.
Is there a resource somewhere which states clearly where code should go and what is 
affected by its location (CLASSPATH, web.xml etc).

Regards

Andy Wickson

Reply via email to