jQuery Ajax error handling, show custom exception messages

Is there some way I can show custom exception messages as an alert in my jQuery AJAX error message? For example, if I want to throw an exception on the server side via Struts by throw new ApplicationException(“User name already exists”);, I want to catch this message (‘user name already exists’) in the jQuery AJAX error message. On … Read more

xajax expanding list query

I think you should look into jQuery as your default javascript library, it’s used by many web professionals and is very good. There you will find the Accordion control, which I think will suite this need very well. Good luck!