Posts by Peter Parker • 62 points
6 posts
-
-1
votes1
answer104
viewsA: Ajax request responding with status 500
John I already went through this a while ago, you can add to Application Properties File spring.jackson.serialization.fail-on-empty-beans=false or annotate its entity with…
-
0
votes2
answers80
viewsA: Reading strings and saving them in arrays
@Guilherme Daniel Take everything before and then move to your array. public class StackOverflow { public static String EXIT = "exit"; public static void main(String[] args) { Scanner ler = new…
javaanswered Peter Parker 62 -
0
votes2
answers109
viewsA: How to set menu to direct the user to the exact point set in href="# "
Clicking here <a class="nav-link" href="#myfeatures">Features</a> Will direct to this block, through the myfeatures ID <div class="row m-t-40" id="myfeatures"> <h1>direciona…
-
0
votes1
answer243
viewsA: Error executing update with sub-query
this select return more than one value SELECT DISTINCT(p.IdProduto) how to compare WHERE IdProduto = (vários valores) this piece here needs to return only one value SELECT DISTINCT(p.IdProduto) FROM…
-
1
votes3
answers245
viewsA: Return a SELECT * FROM" in the Javaweb browser
tested here and rode! , passes its JSP to see how this foreach. public List<User> buscarTodos() throws Exception { List<User> results = new ArrayList<>(); String sql = "SELECT *…
-
0
votes2
answers75
viewsA: Getting HTML table data from JSP
<table> // loop foreach <tr> <td>Jill</td> <td>Smith</td> <td><a onclick="comprar(passa o id aqui)">COMPRAR</a></td> </tr> // loop…