Re: How do you catch exceptions in an Ajax a-tag call to an action
Philip Luppens <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <18164965.1150141584778.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
> I have an ajax a tag that I have calling an action. > I want to be able to tell if the action went > successful upon return and decide how to trigger my > afterloading method. Is there a way to get feeback > from the action and let the a tag know if the action > it triggered was successful? I guess you would have to use an error result that outputs a simple error page (perhaps even let it create its own alert or something). You might want to use 500 header results, but I'm not sure you can pass a message through the headers easily in combination with ajax. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=34094&messageID=66280#66280 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]