Can any one have the code to use JSON in
java.
IN particular I need to populate a dropdown box using JSON response from servlet.I am using
JSF 1.1 and my JS Library is Jquery 1.2.6
Help me with a code.
I browsed through and found json implementations in both javascript and plain JSON ,but I need to do it from a servlet.Im using JSON Library too.
How can I do it with JSONObject,to contain all those options and its values.
Help me with a code.