Setting content type in decorator JSP
skaffman <[email protected]> Thu, 21 Apr 2005 11:59:35 CDT
| Newsgroups | gmane.comp.web.sitemesh.general |
|---|---|
| Message-ID | <1832483.1114102805108.JavaMail.os-j2ee@opensymphony01.contegix.com> |
I'm trying to set up Sitemesh to force all decorator pages to send a content type of "application/xhtml+xml" to the browser. My decorator JSP has the following declaration: <%@ page contentType="application/xhtml+xml" %> However, the browser is still being sent "text/html" as the content type, so this approach doesn't seem to do what I'd expect. Should this be working, and if not, what's the correct approach? Cheers. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=1729&messageID=5366#5366 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]