I know I can put something in the web.xml like this
java.lang.Throwable
yes, In my opinion session is a good place to store exceptions relating to the current request.
Don't forget to clear the exception after you finish handling it.
Also, you can pass instead of exception, an error code from your backing code to your presentation layer, where that can be translated using property files to some kind of meaning full error for the user.