0 Replies Latest reply on Mar 24, 2008 1:35 PM by amorfis

    How to force jboss to send text/html mime type?

    amorfis

      Hi,

      I have a web application and I got css from third party company. With css everything renders fine if content has mime type "text/html", but it is all broken if mime type is "application/xml+xhtml". Problem is I can't force jboss to send content with mime type set to "text/html". I tried setting it in web.xml, both in my app web.xml and in jboss default web.xml, but it is still "application/xml+xhtml" when it goes to browser.

      I also tried changing the doctype, but it still doesn't help.

      Anybody knows how to force jboss to send mime type "text/html"?

      Best regards
      Pawel Stawicki