You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jordi Valldaura i Riqué <jo...@salleURL.edu> on 2002/12/03 09:45:43 UTC

Anyway to handle a servlet exception inside the sitemap

Hi,

I have several servlets on my application, and I want to handle their 
exceptions with <handle-errors...

I've tried <map:redirect ...> to call the servlets but when a servlet 
throws an exception I only get a white page. Then I tried <map:generate 
src="myservlet"> but the sitemap gives me an error(cannot find myservlet).

Is there any generator to call servlets or anyway to catch servlet 
exceptions inside cocoon sitemap?

Thanks in advance

--------------------------------------------------------------------
Jordi Valldaura i Riqué
CSI - Centre de Serveis Informàtics
Enginyeria i Arquitectura La Salle
Universitat Ramón Llull
--------------------------------------------------------------------


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>