> 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


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

Reply via email to