Given that a JSP is basically a servlet, why not do something like

<%
    response.include(request.getContextPath() + "/MyTapestryErrorPage);
%>

from your jsp exception page

btw I can't remember - can you map an exception handler to a servlet in web.xml?

Toby

----- Original Message ----
From: Thiago HP <[EMAIL PROTECTED]>
To: Tapestry users <users@tapestry.apache.org>
Sent: Monday, 19 May, 2008 2:52:02 PM
Subject: Re: T5: Exception Handling

On 5/19/08, Peter Stavrinides <[EMAIL PROTECTED]> wrote:
>  To configure:
>  You would simply use a standard JSP / HTML error page, and wire it in your
> web.xml. I am using Tomcat and it works great... works on Jetty too.

Something I've done once is to setup a 404.html page that redirects to
a Tapestry page via Javascript, including the original URL so I can
log it. ;)

-- 
Thiago

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




Reply via email to