java - How to set json values came from jsp to html using javascript -



java - How to set json values came from jsp to html using javascript -

here code :

<% response.setcontenttype("application/json"); jsonobject json = new jsonobject(); employee employee = new employee("ram","ram@gmail.com"); json.put("employee",employee); out.println(json); %>

i need set json values came jsp html file. parsing js. there thought i'm stucked on here...

if provide code response helpful me..

java javascript json jsp

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -