I have an error page that is handling my exceptions. Is it possible to access session data from within the error page when the request is forwarded to it upon an exception? I am getting a null when I do a session.getAttribute().
The only issue could be that the error could be occuring before you are setting the attribute in the session. In that case, your setAttribute() statement would not be reached and consequently in the error page, the getAttribute() would return you null.