The new method that we’ll be adding to our Application.cfc file is the onMissingTemplate function. This method is passed one argument: the name of the script that was requested. Listing 19.13 shows the latest version of the Application.cfc file. Be sure to save this file as Application.cfc, not Application7.cfc.
<!--- Filename: Application.cfc (The "Application Component") Created by: Raymond Camden (email@example.com) Purpose: Sets "constant" variables and includes consistent header ---> <cfcomponent output="false"> <cfset THIS.name = "ows19"> <cferror type="Request" template="ErrorRequest.cfm" mailto="firstname.lastname@example.org"> <cferror type="Exception" ...