-
Jul 1st, 2010, 02:17 AM
#1
Losing Exceptions
Hi,
We are using SWF 2.0.9 with Tiles (based on the sample web app). When there is an error between JSP and bean in flow scope (ie. Object throws a NPE for example when JSP accesses a variable using OGNL), then we just get a blank tile. No errors in the server console and no errors on screen.
Any ideas..?
I registered a SimpleMappingExceptionResolver but no dice....
-
Jul 6th, 2010, 10:02 AM
#2
I experienced similar behavior. I think it's rather a tiles problem.
The errors should still be logged to your Applicationserver log (i.e. localhost_...log if you use apache tomcat).
You could also try using <c:catch var="jsp_exception"> around the tiles:insertTemplate in your main jsp file and if jsp_exception!=null insert an error view and/or log the exception yourself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules