I am using spring 3 MVC and i have below classes.
External system would call my application using below URL:
http://somehost/root/param1/param2/param
Here is an example of how i made a list object available for javascript:
var listForJavascript = []; var arr = []; arr.push(""); arr.push(""); listForJavascript.push(arr);