Thanks for your reply,Finally i got functionality as required with few modifications in utilizing your plugin.
I thought of sharing if anyone with java can get help with this
instead of getdata.jsp in
and while returning data instead of json object returned jsonarray
and passed that to flexbox()
with follwing in script
variables.results = <%=variableRtn%>;
variables.total = <%=len%>;
and added these lines to jsp scriptlet
Thanks for plugin with which my time got saved.