A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
I agree. Here's the link:
subject: Struts 1.2 ActionForward question
switching to HTTPS
new user exists or not
YUI Autocomplete with XML and JSP
Cannot find ActionMappings or ActionFormBeans
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014