Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 9074
    
    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]
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Struts 1.2 ActionForward question