Skip to content

Tag: spring

Chrome not saving cookies in localhost

I know this has been asked before but none of the solutions named work. I am using Spring boot and React for my webapp, and need to set cookies on the website. I am developing and testing using Google Chrome. When I get the response from the server, the cookie is present and visible. However it is not saved i…

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…