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 JSP and the fly likes how to convert java ArrayList into JSON format  data? 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 » JSP
Bookmark "how to convert java ArrayList into JSON format  data?" Watch "how to convert java ArrayList into JSON format  data?" New topic
Author

how to convert java ArrayList into JSON format data?

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi,
I need to populate a Combobox , so for this I have loaded some data from my Database into an ArrayList and converted it into JSON Using




Now inside DOJO Framework , can i directly use it as ??
where replace is the Combobox Id name in my JSP page .

Please suggest , thanks .


Save India From Corruption - Anna Hazare.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60802
    
  65

HtmlHasNoComboBox


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234




I dont want to argue on this , i have a simple select as shown below ,


Now please tell me thanks .
 
wood burning stoves
 
subject: how to convert java ArrayList into JSON format data?
 
Similar Threads
Parsing an JSONArray on to JSP Page
JSON+Jquery
Urgent: How to use Indexed Properties
Populate Collection of beans from Struts 2 form submission (jdk 1.4)