Posts by jotape • 33 points
6 posts
-
0
votes0
answers59
viewsQ: Documentation with Swagger
Hello, everyone. I’m having trouble analyzing my documentation with Swagger. It just doesn’t show up anything but some HTML elements on my page localhost:8080/swagger-ui.html, how the image shows:…
-
0
votes2
answers49
viewsQ: Parameters in Java
Hello, everyone! I have a question which, apparently, must be simple. I am working on a project where there are several methods with parameters being specified in this way, for example: (String...…
-
0
votes0
answers11
viewsQ: Capture only one line of an Excel spreadsheet with POI
Hello, everybody! I have a system that needs to validate the type of cell contents of a spreadsheet line. I wish it was just a line, to avoid going through all the lines in the file, to avoid…
-
1
votes1
answer88
viewsA: download is not performed via outputStream
I imagine you need to use the write() to download your file in the browser, with the object HttpServletResponse: response.setHeader("Content-disposition", "attachment; filename=seu_arquivo");…
-
1
votes1
answer33
viewsQ: Scroll through a list to get the current element and the next
How can I implement two for(Teste teste : lista) {} to go through the same list? And the second foreach would always have to look at the next item on this list? I tried that way but he always…
-
1
votes2
answers123
viewsQ: Check if Java List has duplicate object attributes
I need help creating a logic that checks whether certain attributes of an object, stored in a List<Object>, there are more than two times. I’ve tried using the Set<E> to check whether it…