I have a problem. My javascript code: In this code, I change the pictures by changing the path to the file, but here's the problem. In order for th ...
I have a problem. My javascript code: In this code, I change the pictures by changing the path to the file, but here's the problem. In order for th ...
It is not possible to check through the if-unless statement in order to find out whether there is a bytecode in the database or null is stored there. ...
I have in my form any inputs with date value, but don't show value. If I input the date when sent to backend don't receive this information. I use Loc ...
I have to show the data form my database to an HTML view like a dropdown menu for that I have created an enitiy, controller and a repository packages. ...
I have a combined check that needs to happen in Thymeleaf: List contains an item - can be done as th:if="${#lists.contains(data, '...')}" if you k ...
I have a fragment for the head tag, and from within this I would like to call another fragment for my styles and scripts. templates/fragments/commonH ...
I have a method in my controller that directs to the page with comments. All comments are related to a specific message. I use pathvariable to send me ...
I have the following SecurityFilterChain for SpringBoot 2.7.7 and Java 17. It works fine. When I request a page under the "digital" folder, I'm requir ...
So, In my Spring Boot APP I have Transaction table, so every user can create a transaction and I want to display that transaction on appropriate page ...
I got this dropdown that will be utilized on some pages and I am concerning if I should componentize it and include it on each page or if I call the d ...
I try to move this working solution to jQuery. How can I do this the jQuery way? Is it a good idea to do so? I tried this but I do not know how to ...
External CSS file doesn't work if I turn on auth with Spring Security. @EnableWebSecurity @Configuration class SecurityConfig { @Bean fun se ...
I am currently working on a program using spring boot and thymeleaf and encountered something strange. After submitting a form with th:action="/addEmp ...
build.gradle file UserModel file import jakarta.persistence.*; import jakarta.validation.constraints.NotEmpty; import jakarta.val ...
I have a chess form with six fields. Two are drop down menus to select names (whiteplayername and blackplayername) and the other four can be used to a ...
I am trying to create a shopping cart using cookies in spring boot but the cookie is not being added/displayed. Below are the controller mappings and ...
This is My entity class, this represents the account which upadtes the accountBalance based on the transactions happen on one more entity, Once the ...
I have a spring boot project and I'm using TailwindCSS. The issue is, while putting <link rel="stylesheet" type="text/css" th:href="@{~/css/main.c ...
This is my model. e.g. How can I access the value from JavaScript if I have the key in a variable? ...
This is my customer entity this is my controller function to add new customer, i dont know whether i did this corrrectly, i meant to store the imag ...