Hello,

I'm trying to call a servlet from my sitemap, but I'm not able to handle the servlet's exceptions through <handle-errors>. Is there anyway to do it.

<map:pipeline>
<map:match pattern="greet">
<map:redirect-to url="greeting" type="servlet"/>
</map:match>
<map:match pattern="*.*">
<map:generate src="{1}.{2}" type="serverpages"/>
<map:transform src="stylesheets/page2html.xsl" />
<map:serialize/>
</map:match>
<map:handle-errors>
<map:transform src="stylesheets/error2html.xsl"/>
<map:serialize status-code="500"/>
</map:handle-errors>
</map:pipeline>

Thanks in advance


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to