File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.2 ActionForward question" Watch "Struts 1.2 ActionForward question" New topic
Author

Struts 1.2 ActionForward question

taras khoma
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

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: http://aspose.com/file-tools
 
subject: Struts 1.2 ActionForward question