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 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 Android Security Essentials Live Lessons this week in the Android 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: 60785
    
  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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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