You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Frans Thamura, Intercitra" <ja...@intercitra.com> on 2004/01/05 08:26:54 UTC
Cocon as a XSP parser only
anyone know how to make cocoon only parse an xsp only, and the rest will
become tomcat standard, so i can use struts, turbine, webwork inside my
context
can you help me?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Cocon as a XSP parser only
Posted by Geoff Howard <co...@leverageweb.com>.
Upayavira wrote:
> Frans Thamura, Intercitra wrote:
>
>> anyone know how to make cocoon only parse an xsp only, and the rest
>> will become tomcat standard, so i can use struts, turbine, webwork
>> inside my context
>>
>> can you help me?
>
>
> First a disclaimer: I've never used XSP.
>
> AFAIK, XSP in Cocoon is a set of XSL stylesheets that transform XSP into
> Java. That java is then compiled end executed. The java that is created
> is in the form of a Cocoon Generator.
>
> If you want to extract the XSP handling, you would need to get those
> stylesheets from within Cocoon's codebase, and amend them to produce the
> code that you want instead.
>
> I've no idea how easy or hard that would be, nor why you would want to
> do this.
If I interpret the question right, you'd have to edit the servlet
mapping in web.xml - currently, Cocoon maps every request under its
context root to the cocoon servlet - you could change that to some other
pattern. And add whatever handlers you need for your other frameworks
in there.
Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Cocon as a XSP parser only
Posted by Upayavira <uv...@upaya.co.uk>.
Frans Thamura, Intercitra wrote:
> anyone know how to make cocoon only parse an xsp only, and the rest
> will become tomcat standard, so i can use struts, turbine, webwork
> inside my context
>
> can you help me?
First a disclaimer: I've never used XSP.
AFAIK, XSP in Cocoon is a set of XSL stylesheets that transform XSP into
Java. That java is then compiled end executed. The java that is created
is in the form of a Cocoon Generator.
If you want to extract the XSP handling, you would need to get those
stylesheets from within Cocoon's codebase, and amend them to produce the
code that you want instead.
I've no idea how easy or hard that would be, nor why you would want to
do this.
Regards, Upayavira
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org