File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
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.
can return AJAX results. See
for some examples.
How To Ask Questions On JavaRanch
It is sorta covered in the
JavaRanch Style Guide
subject: Struts 1.2 ActionForward question
new user exists or not
switching to HTTPS
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-2015