This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 8839
    
    7

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[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: 8839
    
    7

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?
 
Similar Threads
Help- Webservices Creation-HowTo
howto avoid this complexity (state pattern?)
refactoring to pattern - howto choose pattern ?
howto: print records from Hashtable?
Multiple Concurrent AJAX Connecitons, HOWTO?