JSON response into HTML format for Page activity report | Community
Skip to main content
Level 4
March 2, 2016

JSON response into HTML format for Page activity report

  • March 2, 2016
  • 1 reply
  • 1426 views

Hi,

I am getting a JSON response in the content page by dragging my component from the sidekick.I want each value of JSON object to be displayed in my JSP page and that should be in HTML table format.Can you suggest any reference link regarding this

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

edubey
Level 10
March 2, 2016

You need to manually read data in JSON and put in html format

A good example is available here jsfiddle: http://jsfiddle.net/mjaric/sewm6/ 

Level 4
March 2, 2016

I want to read the data from JSONObject and display it in the form of HTML table format.My JSP page returns JSONObject,it contains all the data,I want to retrieve particular data from JSONObject and I need to display in table format in my JSP not using Javascript.

edubey
Level 10
March 2, 2016

It will be same as how you read json in java

Here it shows how you can json in jsp ( configure it html markup )

http://candidjava.com/json-array-with-jsp/

I would not recommend this as you would need to write alot of java in JSP