cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Valldaura i Riqué <jord...@salleURL.edu>
Subject Handling servlet exceptions in sitemap
Date Mon, 02 Dec 2002 15:11:44 GMT
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message