Community
Participate
Working Groups
Created attachment 279539 [details] Simple client screen with No Default Proposals problems <!DOCTYPE html> <%@page import="model.Cliente"%> <%@page import="java.util.List"%> <html> <head> <meta charset="ISO-8859-1"> <title>Cadastro de Clientes</title> </head> <body> <h1>Client Screen</h1> <form method="post" action="cliente"> <br> <br> <br> Email: <input type="text" value= "" name="email"/> <input type="submit" value="Save"> </form> <!-- SCRIPTLET Java inside JSP dosen't work well!!!! --> <% List<Cliente> listaCliente = (List<Cliente>)request.getAttribute("listaResposta"); +ctrl+spaceBar dosen't work well too! for (Cliente c: listaCliente) { out.print(c.getEmail()+"<br/>"); out.+ctrl+spaceBar...No Default Proposals } %> </body> </html>
Neither crashing nor losing data, so lowering severity. You also need the Java Servlet JSP API in your project's dependencies: https://mvnrepository.com/artifact/javax.servlet.jsp/javax.servlet.jsp-api/2.3.0 . Were you not seeing error messages when this file was in the editor?