RE: Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found

2002-02-14 Thread Vadim Gritsenko

Then please read documentation available on site and with the
distribution about Cocoon sitemap. No URI will be served automagically
unless it is configured in the sitemap what Cocoon should do to produce
the content for the requested URI.

Regards,
Vadim

-Original Message-
From: Bai-Hao Chen [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 14, 2002 6:09 PM
To: [EMAIL PROTECTED]
Cc: bc
Subject: Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found

Dear Sir,
 
I can run http://localhost:8080/cocoon/welcome.  But when I try to run
my xml files using http://localhost:8080/cocoon/myhello.xml, I
received a msg 
 Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found.  
 
1. my xml files are located in \webapps\cocoon\docs\samples.
2. my xsl files are located in \webapps\cocoon\stylesheets.
3. I am using tomcat4.0.1 and cocoon2.0.
 
I have been using tomcat4.0.1 for several months, but I am new in using
cocoon.
 
Sincerely,
 
Bai-Hao Chen


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found

2002-02-14 Thread Andre Thenot
You need to set up your sitemap so that Cocoon knows how to respond to that request, and which xml and xsl files it should use:
http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html

A.

On Thursday, February 14, 2002, at 06:09 , Bai-Hao Chen wrote:

Dear Sir,
 
I can run "http://localhost:8080/cocoon/welcome".  But when I try to run my xml files using http://localhost:8080/cocoon/myhello.xml, I received a msg
" Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found". 
 
1. my xml files are located in "\webapps\cocoon\docs\samples".
2. my xsl files are located in "\webapps\cocoon\stylesheets".
3. I am using tomcat4.0.1 and cocoon2.0.
 
I have been using tomcat4.0.1 for several months, but I am new in using cocoon.
 
Sincerely,
 
Bai-Hao Chen