cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Include pipeline content in another servlet
Date Thu, 27 Jan 2005 11:08:06 GMT
Olivier Billard wrote:
> Hi cocooners,
> 
> For some design constrainst, I would like from another servlet, to tell 
> Cocoon to output files.
> A wrapper has been made around the CocoonServlet to redirect servlet 
> outputstream to a file. That's the existing part.
> Then in a servlet I would like to tell Cocoon to output a file here is a 
> snippet :
> 
> request.getRequestDispatcher(cocoonPipeline).include(request, response);
> 
> The problem is that Cocoon bases request processing over the 
> request.getServletPath() to get the URI, and this don't change from the 
> request that originally called the calling servlet...
> 
> So is there a better and working method to call file outputting to the 
> Cocoon servlet from another servlet ?
> 
> Thanks,
> 
> -- 
> Olivier Billard
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
use of CocoonBean maybe ?
http://cocoon.apache.org/2.1/userdocs/offline/bean.html

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message