My project based on spring boot,Thymeleaf,mysql,html and Jquery.
My scenario is to Get the List iterate and show the d
You used the form at the top of your html page:
The th:field="*{chargesName} is bound to the object/bean inside your th:object="${entSetCharges}. Meaning that you are searching for a chargesName field inside your entSetCharges object which does not exist or is null.
Solution:
Maybe change your th:field="*{chargesName}" to ${savedcharges.chargesName} expression to access your object's field.
Try adding respondResult.addObject("entSetCharges",new EntSetCharges()); above your return line. Your view doesn't automatically create this object for you.