To be clear, this is for when you request a missing template, _not_ an
error. (Ok, a missing template is a kind of error.)

Did you try going to /kjdfjkljkdksj.cfm to see if it works?

Btw - if you actually have a file with that name, you're doing it wrong.

On Sat, Oct 20, 2012 at 1:29 PM, John  Barrett <[email protected]> wrote:
>
> I am trying to configure the application.cfc to include error handling. I 
> have this:
>
> /**
>  * @hint ColdFusion received a request for a non-existent page.
>  */
> public boolean function onMissingTemplate(String targetPage) {
>     return true;
> }
> This does not work, I tried to use
>
> include 404.cfm;
> but no such luck. Can somebody help out with error handling with the new 
> script style Application.cfc thanks! Johnny
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5941
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to