method "processException" and do what
you need.
Don't forget to override the original "InsertTag" methods to link it with
your handler...
Valery
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]
Sent: vendredi, 30. mai 2003 14:37
To: Struts Users Mail
Originally, it was possible to use the jsp page directive <@ page
|errorPage="|relativeURL @> on a nested tile bases| |for error/exception
handling. But this doesn't work anymore.
I have no simple solution. You can try one of the following:
* Put a surrounding try/catch block in the tile t
Cedric Dumoulin <[EMAIL PROTECTED]> writes:
> Actually, the tag catch all the exceptions and
> show the message in place of the tile. This behavior help developing a
> complex page made of several tiles. If you set the logging level to
> "debug", the complete exception stack trace will be shown
ssage-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 06. März 2003 11:57
To: Struts Users Mailing List
Subject: Re: how to catch exception using tiles thrown by e.g.
org.apache.struts.tiles.TilesUtilStrutsModulesImpl.doInclude
Jörg Maurer wrote:
Cedric
e
n
tiles.jar or do some dirty subclassing your tag.
I would appreciate your comment.
Greets Jörg
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 06. März 2003 11:57
To: Struts Users Mailing List
Subject: Re: how to catch exception using tiles thrown by
exception. This exception is not catched
by the jsp mechanism because the output stream has already been flushed ...
Cedric
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 04. März 2003 18:35
To: Struts Users Mailing List
Subject: Re: how to catch
first, then the web.xml
page.".
You as a more experienced one than myself, does it make some sense to
the issue?
-Original Message-
From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 04. März 2003 18:35
To: Struts Users Mailing List
Subject: Re: how to catch exception us
I suppose that your exception is thrown by a tag in
a jsp.
This exception is thrown by the tiles framework, which know nothing
about the struts exception mechanism, so it can't be used. The exception
is then propagated by the tag handler and reach the jsp page (the tile
jsp). If there is an
Hi struts people!
I have really defined everywhere i think i can put an exception handler
for servlet exception :
1.) in my base layout.jsp an <%@
errorPage='/pages/common/error/errorsGeneralHandler.jsp'%>
2.) in struts config a global exception handler
3.) in we
9 matches
Mail list logo