Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 58986 invoked from network); 27 Mar 2000 10:14:48 -0000 Received: from unknown (HELO aims.eo.nl) (145.58.229.101) by locus.apache.org with SMTP; 27 Mar 2000 10:14:48 -0000 Received: from benjamin (145.58.229.73) by aims.eo.nl with SMTP (Apple Internet Mail Server 1.1.1); Mon, 27 Mar 2000 11:20:07 +0100 From: "Gerard van Enk" To: Subject: RE: More on Cocoon 2 Get going documentation. Date: Mon, 27 Mar 2000 12:15:09 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Sorry for the strange way this text looks!!! It's my outlook!!!! Gerard 'wanting to get rid of Outlook' > A few things are not correct for Cocoon 2, see below. > > > Being Cocoon a servlet, you should be able to install it on every > compliant servlet > > engine by associating the "org.apache.cocoon.Cocoon" servlet with the > requests you > > want it to handle. In order to do this, there is no standard way, so we > try to > > provide detailed information for the most used servlet systems. > > The cocoonservlet is not "org.apache.cocoon.Cocoon", but > "org.apache.cocoon.servlet.CocoonServlet". > > > > Now your cocoon servlet is properly configured, but you should > tell Apache > to direct > any call to an XML file (or any other file you want Cocoon to > process) to the Cocoon > servlet. To do this, you should add the following > line to your jserv.conf file: > > Action cocoon /servlet/org.apache.cocoon.servlet.CocoonServlet > AddHandler > cocoon xml > > where xml is the file extention you want Cocoon to handle and > /servlet/ is > the mount > point of your servlet zone (and the above is the standard name > for servlet mapping > > for Apache JServ). > > In Cocoon 2 you don't need to assign the xml-extension to the Cocoon > Servlet......I think it's even a thing you MUST NOT do......You've got to > use the sitemap. > > example: > If you have the Cocoon servlet added to your servlet-engine as > "/servlet/cocoon", you must use the following url > . > > If you have the following sitemap, it will be processed: > > > > > > > > > > > > Gerard > >