File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

when using struts2 Json plugin how to dynamically select json to be fetched using getJSON method.

Monica Shiralkar
Ranch Hand
Posts: 825
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a Struts2 application where on clicking a button it fetches and displays JSON from Struts2 Action. For this I have using Struts2 Json array and javascript method getJSON.

This is working fine.

Now I want this happen dynamically. Which json is fetched should be decided dynamically on passing a parameter. How can this be done dynamically from Sturts2 Action?


I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic