cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject nested XSP content: Cocoon not reentrant?
Date Sun, 17 Sep 2000 12:53:04 GMT
Hi all, 

Following the recent "How to call servlets.." thread

Is there any reason why an XSP page can't include content generated by
another XSP? If this is valid:
<util:include-uri href=""/>

why shouldn't this be?
<util:include-uri href="http://localhost:8080/foo/simple.xml"/>

(if simple.xml is an XSP returning text/xml).

It seems if you try to do this (include XSP-generated content in an
XSP page), Cocoon never returns (1.8dev, tomcat3.2b3).

Should this be possible? Is there any other way to achieve this?

I'll include some sample code to demonstrate.



---- samples/reentrant/simple.xml ---
<?xml version="1.0"?>
<?cocoon-format type="text/xml"?>
<p>Hello world</p>

---- samples/reentrant/callsimple.xml ---
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-format type="text/html"?>

    About to include simple.xml..

View raw message