Skip to content

Tag: java

how to transfer data from sun to java

I have a form for sending first and last name to the js index.html I want that when the create user button is clicked, the data is transferred to the backend and the user is created there. i don’t understand how to redirect data from js to java. I use MVC and spring boot Answer Vaniila JS Ajax: You can

How to iterate over js elements

I have this java class: Objects of this class are in List: I am adding this element to the page and want to display the sum of the quantity parameters for the entire List. Similar Java code: I am trying to do this now, but my attempts fail because I don’t know much Js. The logic is as follows: there

Return HTML page with Spring Controller

So, apparently, I’m trying to return an HTML file with help of the Spring Controller. I already have added Thymeleaf dependencies and also tried the following ways to configure it: 1. Anyway, didn’t help, I get Whitelabel Error Page. Whitelabel Error Page This application has no explicit mapping f…

Get HTML Table Data into Bar Chart

I’ve been messing around with some database data that I’ve imported into an HTML table. Then I decided that I needed to get that data into a bar chart. Is there a way I can do this? If so can you show me how to do so? HTML (warning code snippet doesn’t actually work here, but it does in my