Posts by Welber Duarte • 73 points
9 posts
-
2
votes1
answer33
viewsQ: Accessing resources with spring
Hello. I am having some problems recovering an image in a folder of my project. Here is a basic explanation of what I am trying to do: In my application a form is submitted and next to it an image…
-
0
votes1
answer528
viewsA: Thymeleaf fragments are not inserted
I used the tag th:replace and it worked.
-
1
votes1
answer93
viewsA: Security rules not recognised by Thymeleaf
I solved the problem by replacing the following method: @Bean public SpringTemplateEngine templateEngine (SpringResourceTemplateResolver resolver){ SpringTemplateEngine templateEngine = new…
-
1
votes1
answer93
viewsQ: Security rules not recognised by Thymeleaf
Hello. Despite defining the rules for spring security and calling in html in an apparently correct way, permissions are not recognized when running the browser. A user without permission…
-
1
votes1
answer528
viewsQ: Thymeleaf fragments are not inserted
Hello. I am trying to make a simple import of a code snippet via th:insert from Hymeleaf, but something is not going well. From what I read in the documentation, I don’t think there’s anything wrong…
-
1
votes1
answer50
viewsQ: How to make a for in a script tag?
Guys, I’m trying to create a page on my site that shows me title, description and the location of the record of some occurrences. When I access the page, I load through a <c:forEach> all…
-
0
votes2
answers40
viewsA: Identify the input URL of a Filter
I used the method getServletPath to verify by which of the Urls the request had entered.
-
0
votes2
answers40
viewsQ: Identify the input URL of a Filter
How do I identify by which URL a filter is being accessed? My situation is as follows: I have the class below: @WebFilter(filterName = "FiltroLogado", urlPatterns = {"/alterar.jsp", "/deletar.jsp",…
-
1
votes0
answers43
viewsQ: Nullpointexception using JSTL
Hello. Guys, I’m having a problem trying to pull up a list of users using a c:foreach. When requesting the list, a Nullpointexception is returned, which, although I understand the reason for the…