You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roberto Moreda <mo...@alfa21.com> on 2000/03/30 21:32:51 UTC

Cocoon from jsp

Is there any way to obtain de result of a Cocoon process calling the servlet
from a JSP using something like that :

   ...
   
   <jsp:include 
         page="/servlet/org.apache.cocoon.Cocoon?file=/catalog/products.xml"
         flush="true">
     <jsp:param name="query" value="foo"/>
   </jsp:include>

   ...

?

I have hacked the ProducerFromFile.java to obtain this behaviour, but I don't
know if there's other way to do that.

The goal is to maintain a web site with medium-loads. To avoid the heavy
memory usage I'm trying to use only Cocoon to obtain snippets of HTML/WML/...

Any ideas ?

Thanks in advance


  Rober

-- 
Roberto Moreda Alvarez
Alfa21 Outsourcing S.L.

Re: Cocoon from jsp

Posted by Roberto Moreda <mo...@alfa21.com>.
Oooooops... O:)

I've just read the Xalan documentation and I've found EXACTLY what I'm
looking for...

I've a story about the invention of the motorcycle from the idea of the
bike... is something like the birth of Cocoon after the existence of Xalan
:)

I'm sorry

   Rober

On Thu, Mar 30, 2000 at 09:32:51PM +0200, Roberto Moreda wrote:
> Is there any way to obtain de result of a Cocoon process calling the servlet
> from a JSP using something like that :
> 
>    ...
>    
>    <jsp:include 
>          page="/servlet/org.apache.cocoon.Cocoon?file=/catalog/products.xml"
>          flush="true">
>      <jsp:param name="query" value="foo"/>
>    </jsp:include>
> 
>    ...
> 
> ?
> 
> I have hacked the ProducerFromFile.java to obtain this behaviour, but I don't
> know if there's other way to do that.
> 
> The goal is to maintain a web site with medium-loads. To avoid the heavy
> memory usage I'm trying to use only Cocoon to obtain snippets of HTML/WML/...
> 
> Any ideas ?
> 
> Thanks in advance
> 
> 
>   Rober
> 
> -- 
> Roberto Moreda Alvarez
> Alfa21 Outsourcing S.L.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

-- 
Roberto Moreda Alvarez
Alfa21 Outsourcing S.L.