this goes in the code of the portlet or somewhere else?
i've tried it inside the portlets code but the generated portal page is
still text/html!
From: Jacek Wi¶licki <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Developers List" <[email protected]>
To: Jetspeed Developers List <[email protected]>
Subject: Re: content-type
Date: Tue, 30 Aug 2005 17:32:29 +0200
Wiadomosc od Thanos Fakiolas z 2005-08-30 17:17 brzmiala:
Hi!
How can i change the content-type of the dynamically produced pages?
i want it to be text/xml and not text/html!
response.setContentType("text/xml"); //response is RenderResponse
However, I think it would be safer to use response content reguired by
RenderRequest.
--
pozdrawiam,
Jacek Wislicki
[EMAIL PROTECTED]
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]