Y'all bear with me here-

I am just now getting into Java Servlets and JSP but I am stumped as to why I can't 
get 
Context nodes to work in my Tomcat installation's servlet.xml file.

The following is from the book "Java Server Programming" and its not doing me a bit of 
good - 
but I figure its some typo on my part.

In server.xml file, under the Host node, down at the end of the Node's content I have 
added 

        <Context path="/greeting" docBase="C:\ProJavaServer\Chapter07\greeting" 
reloadable="true"/>

When I attempt to access the index.html file I get the following Tomcat error message 
in my 
browser:

Apache Tomcat/4.0.4 - HTTP Status 404 - /greeting

--------------------------------------------------------------------------------

type Status report

message /greeting

description The requested resource (/greeting) is not available.


For the record here are my machine and Java stats:

JVM: 1.4
Tomcat: 4.0.4
Install Directory: C:\Tomcat
OS: Windows 2K
Computer: Dell Pentium III 1gHz 512 MB Ram
--

Randy Peterman


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

Reply via email to