cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Valldaura i Riqué <>
Subject Handling servlet exceptions in sitemap
Date Mon, 02 Dec 2002 15:11:44 GMT

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

Thanks in advance

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message