Hi,
thank you very much, i understand what you are pointing out.
I was already considering that in my scripts (as described, i put also the
Throwable.esp script in the errorhandler directory), but maybe i was doing
something wrong, or i had some other problem... today i re-checked it, and
magically it works (!), so excuse me for this part of the question... (maybe
i didn't just restart the J2ee container? Perhpas it's required for the
modifications to take effect...) :-)
Anyway, just to understand: can i handle all 40(X) error codes with the
400.esp script, or i have to put a script for each error code? If i put a
script 404.esp it's invoked; but if i put a 400.esp script (and remove the
404.esp script) it's not invoked... am i misunderstanding this behaviour?

Thank you,
Fabrizio.

Actually, this will be a better guide than anything I stated above:
>
>
> http://sling.apache.org/site/errorhandling.html#Errorhandling-UncaughtThrowables
> --
> View this message in context:
> http://apache-sling.73963.n3.nabble.com/Default-error-handling-tp992189p1003238.html
> Sent from the Sling - Users mailing list archive at Nabble.com.
>

Reply via email to