This could be done by editing your web.xml and adding something like this:

<web-app>
  <error-page>
    <error-code>404</error-code>
    <location>/myErrorHandler.cfm</location>
  </error-page>
.
.
.
</web-app>

You'll probably need to restart Jetty after making this change.

Paul

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
DetailsDotAt
Sent: Wednesday, April 22, 2009 9:23 AM
To: Open BlueDragon
Subject: [OpenBD] Re: URL Redirects upon 404


As of now, I simply have IIS configured to run a .cfm page in place of
its standard .404 error doc. So whenever a .404 error is generated, it
runs my script.



--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to