my dog learned polymorphism
The moose likes Struts and the fly likes Struts 1.2 ActionForward question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.2 ActionForward question" Watch "Struts 1.2 ActionForward question" New topic

Struts 1.2 ActionForward question

taras khoma

Joined: Mar 14, 2011
Posts: 9

Hi all.

I have SomeAction class where I'm implementing

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
Best regards
Joe Ess

Joined: Oct 29, 2001
Posts: 9150

Welcome to the JavaRanch. Please check your private messages for an important administrative matter.
Struts can return AJAX results. See this article for some examples.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Struts 1.2 ActionForward question
It's not a secret anymore!