Should i put this code on the PageBeginRender method?

Hermann Yesid Redondo Eslava
IngenierĂ­a de Sistemas
IT-GROUP

---------- Original Message -----------
From: Andreas Bulling <[EMAIL PROTECTED]>
To: Tapestry users <users@tapestry.apache.org>
Sent: Tue, 16 May 2006 17:54:05 +0200
Subject: Re: Content Type

> On 16. Mai 2006 - 10:21:13, yesidredondo wrote:
> | Can anyone tell me how to put the content type of a page in 
> tapestry, if i | want a page to be of xml or xls format?
> 
> HttpServletResponse response = getRequestCycle().getRequestContext()
> .getResponse();       try {           response.setContentType("text/xml");    
> } 
> catch (IOException e) {
>               e.printStackTrace();    }
> 
> Hope this helps,
>   Andreas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
------- End of Original Message -------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to