I want to keep mapping of some key value pairs in javascript for that i m using a map inside javascript and want to access this map at server side in servlet where I don't know the key and value so I want to know is there anything can be done to access this var in servlet like java map where i can get both keys and corresponding values also.
how can I access these stored values inside servlet?
Code:
var output={}
output[id1] = value1;
output[id2] = value2;
output[id3] = value3;
Comment