[opencms-dev] OpenCMS: 404-error-handling
Bernd Wolfsegger
bw at code-create.com
Mon Apr 4 14:30:18 CEST 2005
Well,
read no answer to this question yet ...
In 6.0 beta 2 OpenCmsServlet would forward a 404-request to
"system/handlers/handler404.html" if the exception would reach this point in
code. But OpenCMSCore calls res.sendError() with a 404 code before in method
"errorhandling", at least if your are outside the opencms system. If you are
inside, this nice errorbox is served.
This way its not possible yet to add customized errorhandling for the webuser
and more descriptive messages than a blank page ...
Will it be possible in the 6.0 final, like it is in "normal" JSPs with the
errorPage Tag?
Kind regards, Bernd Wolfsegger
On Thursday 31 March 2005 09:35, Uwe König wrote:
> Hello to all,
>
> we're hosting different sites in one OpenCMS instance (5.0.1). Now
> we want different 404-errorpages for each site we're hosting. Does
> anybody dealt with that issue?
>
> For we're thinking about using OpenCMS6 soon, I had a look at the
> handling of 404-errors there. It seems to me that the
> class OpenCMSCore forwards a 404-request to the location
> "system/handlers/handler404.html"
> So I created this resource, but it is not displayed. Instead, I
> receive an empty page with some HTML-headers, indicating that this
> empty page is OpenCMS-generated. Is this behaviour still in progress
> due to beta state or has someone any hints for me?
> Thanks in advance,
>
>
> Uwe König
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list