Posts by Satyan Stering • 29 points
2 posts
-
1
votes1
answer129
viewsA: Images and css do not load on the page when executed by the jar
Oops, I found the problem, this in the part: String baseUrl = FileSystems.getDefault().getPath("src", "main", "resources").toUri().toURL().toString(); renderer.setDocumentFromString(xHtml, baseUrl);…
-
1
votes1
answer129
viewsQ: Images and css do not load on the page when executed by the jar
Hello, I see you’ve had similar questions to my own but you haven’t answered my question. I’m developing an API that goes into a database, takes the data and returns a pdf report using Thymeleaf and…