Coldfusion using onRequestEnd() with Application.cfm files
问题 I'm working in a legacy app that was built upon the use of Application.cfm files rather than Application.cfc files. There is a need to be able to run code after a request has processed. (Basically, I am wanting to use the <cfhtmlhead> tag to inject some Javascript and CSS files into every loaded document. Before I was doing this with a GreaseMonkey user script, but something server-side would be best.) From what I read, I think I should be able to do this with the onRequestEnd() function,