Re: content-type

2006-06-06 Thread Scott Van Wart
Leo Asanov wrote: This wouldn't work for me because content type have to be different under different circumstances, but response.setContentType works just fine. Thanks!! Be very careful with this, as if you send anything but a text-based content type, you could be in for a surprise. The JS

Re: content-type

2006-06-05 Thread Leo Asanov
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:

Re: content-type

2006-06-05 Thread Bart Busschots
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 --