I created exception handling in my Spring application using Spring SimpleMappingExceptionResolver. Everything is working fine. Now I need to somehow print the caught exception on the jsp page. Something like message tracing and stack. In my jsp, I found an exception object in the "exception" attribute. All I need to do is something like this:
${exception.printStackTrace()}
But I do not know how to do this. Is there any way to do this? :-)
Thanks for any suggestion,
Mateo
spring exception
mateo
source share