18
rated 0 times
[
22]
[
4]
/ answers: 1 / hits: 35561
/ 9 Years ago, thu, october 8, 2015, 12:00:00
I have a json object in javascript,
filters = Object {assetType: CAR~LIGHT TRUCK, bodyType: SEDAN~SPORT UTIL}
I need to pass these values along with 5 more string value in query string.
url = '/starHome/exportToCsv/'+tier+'/?period='+period+'&level2='+level2+'&level3='+level3+'&level4='+level4+'&filters='+filters;
window.location.href = url;
when I tried to get filter parameter value in controller
request.getparamter(filters);
I get [object object]
how can I pass this value to controller?.
I have a pojo class contains all these fields. Can I make use of that class?.
More From » json