File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 8927
    
    9

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: 8927
    
    9

Struts 2 includes the JSON Plugin.
 
 
subject: howto return JSON data into struts.xml?