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 81941 invoked from network); 24 Feb 2000 10:52:35 -0000 Received: from systemy.systemy.it (194.20.140.20) by locus.apache.org with SMTP; 24 Feb 2000 10:52:35 -0000 Received: from apache.org (pv36-pri.systemy.it [194.21.255.36]) by systemy.systemy.it (8.8.8/8.8.8) with ESMTP id KAA14159 for ; Thu, 24 Feb 2000 10:52:31 GMT Message-ID: <38B50B4F.547D0532@apache.org> Date: Thu, 24 Feb 2000 11:43:27 +0100 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: it,en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: R:R:include??? (Was: Re: [Cocoon 2.0] Status...) References: <1357AA2133AAD21198CE00A0C9E95DD481FCBD@EXCH_SRV> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Interesse Michelangelo wrote: > > > ---------- > > Da: Stefano Mazzocchi[SMTP:stefano@apache.org] > > Risposta a: cocoon-dev@xml.apache.org > > Inviato: mercoled� 23 febbraio 2000 12.19 > > A: cocoon-dev@xml.apache.org > > Oggetto: Re: R:include??? (Was: Re: [Cocoon 2.0] Status...) > > > > Interesse Michelangelo wrote: > > > > > > > > > > > > > ---------- > > > > Da: Pierpaolo Fumagalli[SMTP:pier@apache.org] > > > > Risposta a: cocoon-dev@xml.apache.org > > > > Inviato: mercoled� 23 febbraio 2000 10.18 > > > > A: cocoon-dev@xml.apache.org > > > > Oggetto: jsp:include??? (Was: Re: [Cocoon 2.0] Status...) > > > > > > > > Interesse Michelangelo wrote: > > > > > > > > > > Please, in 1.7 release allow me to jsp:include an XML page ;)))) > > > > > > > > Do you need to include a JSP or you need to include an XML document in > > > > your page??? Because you can import documents into others with XSL... > > > > > > > I mean to include the result of a XML-->HTML XSLTranslation into a JSP > > > page, i.e.: using JSP as a wrapper for XSLT .... better, having the > > power to > > > make a JSP page including several XML pages, so to build a mosaic/puzzle > > out > > > of several XSLT "parallel" transformations. > > > > > > One case could be: placing in one final HTML page the outcomes of > > several > > > post-formatted queries, i.e.: formatted tables if you like, encapsulated > > > into some top-level JSP-logic . > > > > > > I tried to make a similar mosaic, but I got an error message from > > Cocoon, as > > > already reported, while jsp:including an XML page. > > > > Give us more info. > > > ok. > Just consider the following scenario: > > > > Risorse > > <%@ include file="T_HEAD.jsp" %> > > <%@ page import = "java.util.*, com.mybase.*, ..." %> > > <% > .... some top-level logic is here, beans definition and access ... > %> > > > > > > > > <% > if () > { > %> > > > > > > > > <% > } > %> > > <%@ include file="T_TRAIL.htm" %> > > The above code just shows a way in which JSP(Tomcat) and XML(Cocoon) could > synergically coexist. But, now it doesn't work :( > > Does the example clarify the concept ? It does. I don't get why you would like to use JSP for that, but that's another story. The problems is that "here is what fails" doesn't help us to fix the problem. Do you have an error message or some sort? What does the generated source code says? is it using RequestDispatching? Anyway, keep in mind that Cocoon is developed under JServ because the majority of the people uses that. Most of the Servlet 2.2 compatibility issues are yet unsolved... and help is, of course, welcome. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Come to the first official Apache Software Foundation Conference! ------------------------- http://ApacheCon.Com ---------------------