I wrote a jsp which request to the servlet and return a json to my jsp ,my problem is that I want to iterate on json and show it in my page ,but I do not know how to get my json in my javascript function .
I do not want to use jquery ui an ajax .
I want to write it in pure javascript and jsp .
tnx for ur help.
I wrote a jsp which request to the servlet and return a json to
Share
Assuming you are already holding the JSON somewhere within your JSP, this examples shows how to access JSP content from a javascript function: JSP/JavaScript-Example. If my assumption is wrong, you maybe want to post your code for further suggestions.