This wouldn't work for me because content type have to be different under
different circumstances, but response.setContentType works just fine.
Thanks!!
Cheers,
Leo
Bart Busschots <[EMAIL PROTECTED]> wrote: You can set it in the JSP like so:
<%@ page contentType="text/xml" %>
Leo Asanov wrote:
> Hi! Is it possible to change content type in action class?
> response.setContentType doesn't do anything. Content is html code, generated
> by a jsp file. What are my options?
>
> Cheers,
> Leo
>
>
> ---------------------------------
> Ring'em or ping'em. Make PC-to-phone calls as low as 1�/min with Yahoo!
> Messenger with Voice.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.