I am developing with Struts 2 and I created a custom ExceptionMappingInterceptor class that is used to override the publishException method. In CustomExceptionMappingInterceptor I set an error message to an ActionError depending on which exception is caught. Then I return the user to the same screen, not a global error screen. This all works except that I lose the user's data when I render the screen. When I debug I see that just before the screen is rendered all of the data is available in the action class, so I cannot figure out why the JSP is not displaying it.
Any ideas on why I am not displaying the data would be very appreciated.
Any ideas on why I am not displaying the data would be very appreciated.