Jsp defines the value
<script type="application/javascript"> var dataList= "${data.dataList}"; </script> In the connected js choose
$(document).ready(function(){ console.log(dataList); } In the console as a result
[ru.test.TestClass@253d1594, ru.test.TestClass@59cfed2c, ru.test.TestClass@525614c0, ru.test.TestClass@47381287] What am I doing wrong? I need the values of the object list. How to process the list of values?