With .jsp files, I can do: <%@ page contentType="application/xhtml+xml;charset=ISO-8859-1" %> With .jspx files, I can do: <jsp:directive.page contentType="application/xhtml+xml;charset=UTF-8"/>
What is the equivalent with FreeMarker (.FTL) templates? Or for the ultimate, could I set a global MIME type for all freemarker/jsp files of "application/xhtml+xml" for browsers that indicate that that they can accept that, and fallback to "text/html" for browsers that can't (IE). -- View this message in context: http://www.nabble.com/How-do-I-set-MIME-type-with-FreeMarker-Templates--tf4424108.html#a12619799 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]