cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Muc <alex....@utoronto.ca>
Subject Re: How to invoke XSP programmatically from within Java producer or other XSP ?
Date Wed, 10 May 2000 02:05:41 GMT
Is it possible to do this yet?  If so, what's the syntax?

Thanks
Alex.

Ricardo Rocha wrote:

> 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