Bit of a newbie so this may be a dumb question but I'm having trouble
finding out how to do this from the documentation and samples.  Is it
possible to do this in the site map:

   <map:handle-errors>
    <map:redirect-to uri="http://anothersite.com/pdfgenerationerror.asp"/>
    <map:serialize status-code="500"/>
   </map:handle-errors>

I'm using cocoon to generate a PDF, this is navigated to from another site,
if there is an error generating the pdf I don't want to display any specific
message about the error.  I just want to go back to the originating site and
display a generic 'pdf generation error' message.

I can do so by putting a client side redirect in the html generated by
error2html, but I'd rather do it on the server.

Is this possible?

Chris.


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