I wrote a Java program that returns the values :(Hi,Hello,How,Are,You,Me,They,Them) as an array list.
I wrote a simple controller that takes these values and displays it as JSON on localhost:8090/greeting as follows:
["Hi","Hello","How","Are","You","Me","They", "Them"]
I want to display these values in the following format on a web page:
How do I achieve it?
Use Java to iterate through the array and output the HTML tags for a table. For details on which tags to use, see https://www.w3schools.com/html/html_tables.asp