Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts 1.2 ActionForward question
Joined: Mar 14, 2011
Mar 14, 2011 05:42:22
I have SomeAction class where I'm implementing
ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
method. This method returns ActionForward so in the end of it I need to write something like this:
I want to invoke this action through Ajax and return forward to some json or xml with success or failure message. Than I want to show failure in alert or ExtJs dialog window.
Can I do it at all? Can you suggest me some things how to implement this.
Thanks a lot for help
Joined: Oct 29, 2001
Mar 14, 2011 06:22:47
Welcome to the JavaRanch. Please check your private messages for an important administrative matter.
Struts can return AJAX results. See
for some examples.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
It is sorta covered in the
JavaRanch Style Guide
subject: Struts 1.2 ActionForward question
switching to HTTPS
YUI Autocomplete with XML and JSP
Cannot find ActionMappings or ActionFormBeans
new user exists or not
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013