Thanks for the answer. As far as the second part is concerned, I found that I needed to stick <Context path="/foo" reloadable="true" docBase="C:\bar" workDir="C:\bar\work" /> in the
$CATALINA_HOME/conf/server.xml file, and it works.

As far as examples are concented, I have installed everything, so the examples with all the files are in place, e.g. in $CATALINA_HOME/webapps/jsp-examples. Tomcat is running as a service, "Local system". I am accessing from the local computer, so that should work. As appears, any valid thing placed in $CATALINA_HOME/webapps works, except these two: jsp-examples and servlets-examples. Any more suggestions?

Konstantin.


Caldarale, Charles R wrote:
From: Konstantin L Kouptsov [mailto:[EMAIL PROTECTED] Subject: tomcat examples


However, when I try to access "JSP examples" or "servlet examples" in the left panel menu, I get a 404 page


Sounds like something in your installation failed to complete, or
perhaps you've got a file permissions problem.  If you're running Tomcat
as a service, does the account it's running under have access to all of
the directories in the installation path?  You might try looking at the
directory structure from the .zip download and make sure you've got
everything.


Also, is there a way to have a non-default location of the pages to be served (i.e. other than
$CATALINA_HOME/webapps/ROOT/)?


RTFM:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html
http://tomcat.apache.org/tomcat-5.5-doc/config/index.html

In particular, look at the doc for <Host> and <Context>, and read the
Servlet spec.

 - Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to