Hi List!<br><br>I have resources of type 'xmlcontent' and a template (which is registered via the template-elements property). Now I want to set the mime type of the response (by response.setContentType("text/XXXX") ) to text/html or to text/xml. It depends on a request Parameter which content-type should be returned. Now I saw this is not possible. Nether by setting
repsonse.setContentType(), nor by setting CmsJspBean.getResponse().setContentType(). If the request URI ends with *.xml?param=bla, then the response type is text/xml, in all other cases (I want a custom extension - eg. '*.page' or sth else) the type is text/hml.
<br><br>Is there another way to accomplish this, or can someone point me to a location in the sourcecode where this behavior can be chaned.<br><br>Please help!<br><br>greets<br><br>Sigi<br>