You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jeremy Quinn <je...@media.demon.co.uk> on 2001/09/12 18:57:41 UTC
[C2] blank pages ????
Dear All,
I seem to get blank pages when there is something wrong with the URL I use.
What is causing this?
How do I stop it?
Thanks for any help
regards Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<ma...@mac.com> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: [C2] blank pages ????
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
At 3:04 PM -0400 12/9/01, Vadim Gritsenko wrote:
>Sorry, yes, I meant <map:handle-errors/>,
>but please use 404 (not 401).
Ha ;)
>Empty page (with status 404 in response) is returned when this handler is not
>found (done in CocoonServlet.java).
Thanks
regards Jeremy
--
___________________________________________________________________
Jeremy Quinn Karma Divers
webSpace Design
HyperMedia Research Centre
<ma...@mac.com> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: [C2] blank pages ????
Posted by Vadim Gritsenko <vg...@hns.com>.
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:jeremy@media.demon.co.uk]
> Sent: Wednesday, September 12, 2001 2:51 PM
> To: cocoon-users@xml.apache.org
> 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
>
> <ma...@mac.com> <http://www.media.demon.co.uk>
> <phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: [C2] blank pages ????
Posted by Jeremy Quinn <je...@media.demon.co.uk>.
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
<ma...@mac.com> <http://www.media.demon.co.uk>
<phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: [C2] blank pages ????
Posted by Vadim Gritsenko <vg...@hns.com>.
Define <error-handler type="404"/> in your <pipelines/>
(in addition to <error-handler/>)
Regards,
Vadim
> -----Original Message-----
> From: Jeremy Quinn [mailto:jermq@media.demon.co.uk]
> Sent: Wednesday, September 12, 2001 12:58 PM
> To: Cocoon Users
> Subject: [C2] blank pages ????
>
>
> Dear All,
>
> I seem to get blank pages when there is something wrong with the URL I use.
>
> What is causing this?
>
> How do I stop it?
>
>
>
> Thanks for any help
>
> regards Jeremy
> --
> ___________________________________________________________________
>
> Jeremy Quinn Karma Divers
> webSpace Design
> HyperMedia Research Centre
>
> <ma...@mac.com> <http://www.media.demon.co.uk>
> <phone:+44.[0].20.7737.6831> <pa...@sms.genie.co.uk>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>