> From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
> 
> Hi List,
> 
> how can one have a global static error-page in C2, I need this for a
> production system.

Put in every <map:pipeline/>:

    <map:handle-errors>
      <map:transform src="stylesheets/error2static-html-page.xsl"/>
      <map:serialize status-code="500"/>
    </map:handle-errors>
  </map:pipeline>

And develop error2static-html-page.xsl.


Vadim


> 
> Cheers, Michael
> 


---------------------------------------------------------------------
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]>

Reply via email to