And i'm not sure to understand why the jsp catch the exception (my pretty error appears in the rendered html page) and the tiles element does not (the whole body is blank).
Is there a soul to explain that to me? What about a work-around?
I'm not sure I understand - there's no reason your JSP should catch the exception unless you have handling for that in the JSP - in which case, you shouldn't be surprised! :)
But if you don't have error handling in the tile itself (for example, a JSTL c:catch tag), then an exception in there will be thrown.
What I find somewhat annoying is that Global Exception handlers can't function effectively to catch tiles JSP errors, because the HttpServletResponse has already been committed by the time the exception is thrown. I'd like to figure out a good fallback strategy inside the Global Exception Handler for when response.isCommitted() is true. I've tried a few things, but nothing so far that I'd consider making part of the Struts core.
In the meantime, c:catch is probably the best solution.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana