Skip to content
Advertisement

sending a list to the html page and then displaying it using thymeleaf gets parsing error

My flightList.html

JavaScript

Controller Class for url mapping

JavaScript

Flight class

JavaScript

I am passing list to my flightList.html to display data in that list in a html table but when i load that page i get

JavaScript

idk why it is unable to parse the data when I display the data in list to console (doing System.out.println) it works fine if anybody have any suggestions or what might be wrong it would be really helpful

update

error stack : https://pastebin.com/hT6b3WEX

Advertisement

Answer

You have written listvalue with upper V and lower v

Advertisement