I don't understand your question. Do you call the web service from the browser via JS, then it's a JS-question which you better ask at stackoverflow.
If you call the webservice at server side just create Java objects and create your page as described in the documentation. If you than have a concrete question, feel free to ask again.
1) user will do some operation on client side.
2) browser will make ajax call
3) request will goto backend java webservice
4) it will return json object as response
(this json would be nested one or complex)
so now i want to display or loop through this Json and display data on HTML page using
thymeleaf syantax... so exact question is i need syntax in thymeleaf to display data from Json
on html page . or could you give me an example html page in thymeleaf that would display json data.
this j2ee array could array of objects or array of different maps... means it can be complex.
Could you please give me solution like how can i display this json in thymeleaf html page...
as I didnt get exact in documentation of thymeleaf.
I'm far away from being a Thymeleaf expert, but as mentioned in the first post, this is a JS-question. There is nothing Thymeleaf can do for you, because it's a server side template engine. You can use JQuery to build the html or search for JS template engines (Search for JS template engine) or look at http://garann.github.io/template-chooser/.