How do you include the doctype in Application.cfc?
I'm trying to convert an Application.cfm file to Application.cfc and in the cfm file I had the following:
<!--- Set the content type to ISO-8859-1, otherwise the default is UTF-8 --->
<cfcontent type="text/html; charset=ISO-8859-1">
<!--- Set the doctype for all the documents --->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I think I set the cfcontent in the onApplicationStart function along with the other application variables. No matter what I do, nothing is getting the doctype to show up on the pages. Where do you put that in the cfc file?
Thanks!
Holli
