aspose file tools*
The moose likes Struts and the fly likes howto return JSON data into struts.xml? 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 "howto return JSON data into struts.xml?" Watch "howto return JSON data into struts.xml?" New topic
Author

howto return JSON data into struts.xml?

André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
howto return JSON data into struts.xml?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8994
    
    9

Why are you trying to return JSON data in the Struts configuration file?


[How To Ask Questions On JavaRanch]
André Asantos
Ranch Hand

Joined: Nov 23, 2009
Posts: 234
I need to return JSON for my AJAX framework and by using result type="json" I think it will work...
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8994
    
    9

Struts 2 includes the JSON Plugin.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: howto return JSON data into struts.xml?