[opencms-dev] OpenCMS: 404-error-handling

Uwe König uwederkoenig at web.de
Mon Apr 4 21:21:24 CEST 2005


Hello Alex, 

> You only need to create the folder / file
> "/handler/handle404.html" in the OpenCms "/system" folder, which
> will be displayed in case of a 404 error. Make this
> "handle404.html" a JSP that uses your template of choice in case
> you want more advanded error handling stuff. Everything works as
> expected.

Well, I created the folder and the handle404.html as a jsp
(OpenCMS 6 beta 2), but it is not displayed when I request a
resource that doesn't exist. Am I missing something? 

For us, the definition of error-pages in web.xml has the major
disadvantage, that the original request-URL is not available, so we
don't know which site it was aiming at. 
Best regards, 


Uwe König 



More information about the opencms-dev mailing list