cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Rocha <rica...@apache.org>
Subject Re: How to invoke XSP programmatically from within Java producer or other XSP ?
Date Fri, 10 Mar 2000 00:32:26 GMT
Hi Zvi, glad to hear from you

On Tue, 07 Mar 2000, you wrote:
> Anybody know, how to invoke XSP programmatically from within Java
> producer or other XSP ?

I'm working on this, precisely!

Currently, there's no standard mechanism to run the Cocoon engine as an
XSP "subtask". What I'm working on now is a way to instantiate the
processing pipeline from inside an XSP page...

When it comes to run XSP from Java, you may want to use the Cocoon
command-line application.

There's a rather expensive way of including the results of another XSP
page (well, to be honest, to include the results of any [well-formed] web
page, :-)) by means of the <util:include-uri> dynamic tag. For example:

  <util:include-uri href="http://localhost/other.xml"/>

or

  <util:include-uri>
    <util:href><xsp:expr>
      "http://" + myURLLocation 
    </xsp:expr><util:href>
  </util:include-uri>

Mime
View raw message