>>>>> "Ugo" == Ugo Cei <[EMAIL PROTECTED]> writes:
Ugo> It's right there in the main sitemap of the sample webapp:
Ugo> <map:handle-errors> <map:select type="exception">
Ugo> ... <map:when test="invalid-continuation">
Ugo> <map:generate type="notifying"/> <map:transform
Ugo> src="stylesheets/system/error2html.xslt"> <map:parameter
Ugo> name="contextPath" value="{request:contextPath}"/>
Ugo> <map:parameter name="pageTitle" value="Invalid
Ugo> Continuation"/> </map:transform> <map:serialize
Ugo> status-code="404"/> </map:when>
Oh thanks.
Pity that selector isn't documented in the usef manual.
Anyway, that works fine - at least, the invalid-continuation does.
I thought it was about time I put in a user-friendly URL not Found
page.
But not matter what I do, I cannot trap that exception. I copied the
error handler into my site-map, and then I started to play with the
not-found branch.
But this is totally ignored! I even tried redefining the exception
selector in my sitemap, but this has no effect.
It's as if there's a hard-wired ResourceNotFoundException handler that
can't be touched.
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]