Sorry, yes, I meant <map:handle-errors/>,
but please use 404 (not 401).
Empty page (with status 404 in response) is returned when this handler is not
found (done in CocoonServlet.java).
Vadim
> -----Original Message-----
> From: Jeremy Quinn [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 12, 2001 2:51 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [C2] blank pages ????
>
>
> At 1:19 PM -0400 12/9/01, Vadim Gritsenko wrote:
> >
> >Define <error-handler type="404"/> in your <pipelines/>
> >(in addition to <error-handler/>)
>
>
> The tag <error-handler/> is not in the sitemap logicsheet, sitemap.xsl.
> Do you mean something like this?
>
> <map:pipeline>
>
> <map:match pattern="blah">
> .......
> </map:match>
>
> <map:handle-errors type="401">
> <map:transform src="stylesheets/error-401.xsl">
> <map:serialize/>
> </map:handle-errors>
>
> <map:handle-errors>
> <map:transform src="stylesheets/error.xsl">
> <map:serialize status-code="500"/>
> </map:handle-errors>
>
> </map:pipeline>
>
> Thanks
>
> regards Jeremy
> --
> ___________________________________________________________________
>
> Jeremy Quinn Karma Divers
> webSpace Design
> HyperMedia Research Centre
>
> <mailto:[EMAIL PROTECTED]> <http://www.media.demon.co.uk>
> <phone:+44.[0].20.7737.6831> <pager:[EMAIL PROTECTED]>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>