aspose file tools
The moose likes Servlets and the fly likes servlet json Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 56224
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Thank you for the reply.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: servlet json
 
Similar Threads
Build Array in Servlet And Pass Back to Ajax Callback
jquery, ajax, servlet and null data in callback function
Creating a transparent page overlay
How can i pass the JSONObject to the servlet
Populate Table Rows With Data from AJAX