Q: Handle a associative array passed from PHP in Java Hi I am trying to send an associative array to a JSP servlet in a POST request. How do I handle that array in the servlet. Can I even do it? I just want to convert that assoc array in to a hashset/table in  JSP.

A: Easiest way would be to POST some JSON and then consume the JSON in the servlet. The Jackson library can unmarshall JSON to a HashMap (or equiv) with one line of code.
If you provide us with some example data then i could suggest some code... 
