cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramesh Vejendla <Ramesh.Vejen...@kshema.com>
Subject problem in conf
Date Thu, 17 May 2001 11:58:22 GMT
Hi All
         I'm struggling in conf of cocoon in apache-Tomcat 
I configured according to installation manual but still I'm not able to
access the cocoon.xml file. can u plz help out .



-----Original Message-----
From: Andrea Gianni [mailto:a.gianni@infogroup.it]
Sent: Thursday, May 17, 2001 4:02 PM
To: cocoon-users@xml.apache.org
Subject: Loop with cascade xslt



I tryed to replicate the clean-page.xml example of cocoon for put java code 
in a dynamic xml page.
My first xml file is

<?xml version="1.0"?>

<!-- Author:  -->
<!-- Version: $Id: page.xml,v 1.5 2000/01/08 07:19:41 ricardo Exp $ -->

<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="crea-1.xsl" type="text/xsl"?>

<xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core"
         xmlns:util="http://www.apache.org/1999/XSP/Util">
<page>
         <util:include-uri>
         <util:href>
                 <xsp:expr>
 
"http://linuxdev04:6666/servlet/com.infogroup.tweb.xml.servlet....
                 </xsp:expr>
         </util:href>
         </util:include-uri>
</page>
</xsp:page>

and the xslt is just a try file

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
         xmlns:xsp="http://www.apache.org/1999/XSP/Core">

<xsl:template match="page">

     <xsl:processing-instruction 
name="cocoon-process">type="xsp"</xsl:processing-instruction>

     <xsp:page language="java"
xmlns:xsp="http://www.apache.org/1999/XSP/Core">

      <pippo>pluto</pippo>
     </xsp:page>

</xsl:template>



</xsl:stylesheet>



The problem is that Cocoon enter in a loop executeing continuosly the url 
request.

Anyone has had my same problem and solved it ?

A.G.

*******************************
Ing. Andrea Gianni
Software Engineer
Gruppo Monetica e Servizi
Area Internet Professional
Infogroup S.p.a.
Via delle Panche, 140
50141 Firenze
Tel. 055.436.5647
Fax. 055.436.5735
e-mail a.gianni@infogroup.it


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
*******************Confidential Notice********************

This e-mail communication may contain information that is
confidential and privileged. The information is intended
to be for the use of the addressee only. If you are not the
named addressee you should not disseminate, distribute or
copy this e-mail: to do so could be a breach of confidence.

Kshema Technologies Ltd.,
# 33/1, Lalbagh Road, Bangalore 560027, INDIA. 
Tel: (91) 80- 2995114/5/6
Fax: (91) 80 2272933 

**********************************************************

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message