I am building an application with Hibernate and Thymeleaf. I have an object for Image urls so the user can put in the url and it gets pulled from the database and put into the template as th:src
The problem I am ending up with is instead of it pulling the url from the database it is trying to use it as a local directory or something. The links in my db include http:// or https:// which I've seen referenced as a problem in other questions asked.
http://localhost:8080/com.liftoff.thymeleafrecipeproject.demo.models.Image@24
This is what I am getting as the Image url, what am I doing wrong here?
0 Replies