Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Losing data using ExceptionMappingInterceptor

Status
Not open for further replies.

troyarch

MIS
Mar 12, 2003
29
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top