JQuery Ajax error handling, show custom exception messages
Hey Folks,
I am wondering if there is some way where I can show custom exception messages as an alert in my Jquery ajax error message.
For example, say if I want to throw an exception in server side via Struts by "throw new ApplicationException("User name already exists");", I want to catch this message(User name already exists) in Jquery ajax…