wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    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: 8836
    
    7

Struts 2 includes the JSON Plugin.
 
Don't get me started about those stupid light bulbs.
 
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?