Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[Struts 1.1] Tiles & JSF

GUILLEMOT Simon

2007-02-20



Hi,

I'm using Tiles from Struts 1.1 and JSF and I have a problem handling
exceptions.
In my JSP pages, when an exception is thrown I saw it in the text of the
page instead of catching it with servlet filters.

From what I saw in the source code, the method processException in
InsertTag.java trace the exception but don't forward it to its caller.
The exception is not thrown after the tag <tiles:insert>

I'm searching a way to catch it before this trace to make a redirect or
something like that.
For test purpose, I modified processException to throw a JSPException with
the orginal exception in it and I'm able to catch it with a servlet filter.
Is there another way to do this without modifying source code ?

Regards,

Simon GUILLEMOT



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.