Antwort: Showing Action Exception as Ajax Errors

2013-11-15 Thread Christoph Nenning
> Hi, > > We are using struts2 JSONValidationWithInterceptor. This interceptor > grabs the errors from validation and convert them to json message > How can we have same feature! An interceptor which grabs the action > exceptions and serialize them as json errors. > > I try below interceptor. Wh

Showing Action Exception as Ajax Errors

2013-11-15 Thread Alireza Fattahi
Hi, We are using struts2 JSONValidationWithInterceptor. This interceptor grabs the errors from validation and convert them to json message How can we have same feature! An interceptor which grabs the action exceptions and serialize them as json errors. I try below interceptor. When an exception