This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 1.2 ActionForward question

 
taras khoma
Greenhorn
Posts: 9
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic