File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes servlet json 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 » Java » Servlets
Bookmark "servlet json" Watch "servlet json" New topic
Author

servlet json

Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
How I will create a JSON object in servlet for using it as response.

Regards
Miku
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

There are any number of JSON formatters: Gson, Jackson, etc. Do a google search and pick one that suits your needs.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Thank you for the reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet json
 
Similar Threads
Build Array in Servlet And Pass Back to Ajax Callback
jquery, ajax, servlet and null data in callback function
Populate Table Rows With Data from AJAX
Creating a transparent page overlay
How can i pass the JSONObject to the servlet