You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jean-Marc LECOMTE <jm...@msn.com> on 2004/03/25 11:39:57 UTC

Servlet outputstream inside a component

Hi,

I would like to include a Servlet OutputStream inside a Tapestry Custom 
component ? How is it possible ?

Thanx in advance

_________________________________________________________________
MSN Messenger http://g.msn.fr/FR1001/866  : dialoguez en son et en images 
avec vos amis


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Servlet outputstream inside a component

Posted by "Dmitry I. Zubarovsky" <au...@rambler.ru>.
Hello Jean-Marc,

you can override renderComponent method of AbstractComponent class

protected void renderComponent(IMarkupWriter p_writerMarkup, IRequestCycle p_pRequestCycle) {
 HttpServletResponse pResponse = p_pRequestCycle.getRequestContext().getResponse().getOutputStream()
}

Dima

JML> Hi,

JML> I would like to include a Servlet OutputStream inside a Tapestry Custom 
JML> component ? How is it possible ?

JML> Thanx in advance

JML> _________________________________________________________________
JML> MSN Messenger http://g.msn.fr/FR1001/866  : dialoguez en son et en images 
JML> avec vos amis


JML> ---------------------------------------------------------------------
JML> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
JML> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org



-- 
Best regards,
 Dmitry                            mailto:aurox@rambler.ru


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org