Questions tagged as 'jsp'

2
answers

Comparison request.getParameter with String JSP

I want to get what the user will type with request.getParameter and compare it with a String and if the value that the user type is equal to the string, the user will be redirected to the page but this is not happening. > String login =...
asked by 05.10.2017 / 01:48
1
answer

Form HTML + JSP

I have created a html page with a simple form and I want to use the infos in jsp 1) Java class "Calculation": package principal; public class Calculo { public int n1; public int n2; public int resultado; } 2) form html <...
asked by 22.09.2017 / 16:51
1
answer

I can not put the servlet value in the JSP page

I am trying to validate the login and password of the user, in that if not enter the fields of login and password will appear a message in the screen "Please fill in the fields of login or password" or in case the user type the user or Incorrect...
asked by 22.09.2017 / 20:40
1
answer

Problem with binding in Spring MVC

I have the following field in the form <div class="form-group col-md-2"> <form:label path="horarioInicio">Horario inicio</form:label> <form:input id="horarioInicio" path="horarioInicio"...
asked by 01.10.2017 / 20:37
1
answer

Syntax error in query with ordering PostgreSQL JSP

I made a select in the database in which it will make a query according to name, and it orders it but when executing the select the following error occurred. publicList<Motoristas>mostrarMotoristasPaginado(intpagina,Stringordenacao,Str...
asked by 13.09.2017 / 23:44
0
answers

Doubt about JSP page through call

If I consider that an application ran a JSP page through the call link Which of the alternatives is correct? a - Pode existir um servlet acessando um compnente EJB. b - lista.processa é o caminho de um componente EJB. c - lista.processa é o...
asked by 18.09.2017 / 14:42
1
answer

Entering data automatically when loading the JSP page

I'm developing a web application using jsp, where I register a mototrist but soon after loading the page jsp the application already tries to register the driver's data alone, thus giving the error <%@pageimport="java.util.List"%> <...
asked by 10.09.2017 / 17:23
1
answer

ForEach returning only one object in the list

I have a JSP page and I want it to be a list. To do this, I created a listarTodos() method inside the DAO class and set the fields to show the data of the object, thus getting the code: </div> <% ProdutoD...
asked by 06.09.2017 / 00:56
1
answer

How to resolve the following error: HTTP Status 500- Internal Server Error

I'm trying to make a web application using java, jsp, servlets and database. But when I run as in addClient.jsp Class this error appears:    HTTP Status 500 - Internal Server Error. I have already looked at the internet on how to solve it...
asked by 26.08.2017 / 22:42
1
answer

Separate content from the CSS menu

I'm wanting to leave the links on the Control Drivers page, Control Passengers, Control Racing, from the menu a little more separate but spaced, but I'm not getting it. <%@pagecontentType="text/html" pageEncoding="UTF-8"%> <!DOCTYP...
asked by 09.09.2017 / 03:18