-
Thymeleaf
Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Here is my pastebin since it is longer code: https://pastebin.com/a8hL0NCr I am having disaster updating a selected survey answer from a radiobutton in my html and post controller. In my "/surveyResults" controller, the commented out code is what I'm trying to acheive where I take the radiobutton value and match it with the object field variable. But is is not updating the values in the next HTML page - survey_results. The code that is not commented in my controller is able to update the survey vote total but i am trying to control this change so that it doesnt increment every single time going through this page as it is doing now. I tried changing my updateSurvey method in my database access class so the sql statement has a part where it goes "vote1 = vote1 + 1" which unfortunately didnt work. I also tried looking‍ at this https://github.com/thymeleaf/thymeleaf/issues/666, which is kind of what I'm trying to acheive but not quite. I still need to update the MySQL table but also populate the results in the HTML.