Questions tagged as 'servlet'

1
answer

ResultSet is not positioned correctly, you may need to call next

I am developing a web application using JSP and Servlet and that I register the data of the products in the database and present the data in a table, but when I try to see the image registered by the primary key the description http://localho...
asked by 01.11.2017 / 15:45
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

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
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

Problem with connection bank firebird hibernate

I have an application in java that provides rest services with servlets and hibernate, which at first works perfectly. I can make thousands of requests to various services that retrieve information in firebird base that it responds very well ......
asked by 08.08.2017 / 21:53
1
answer

Pass and receive data for servlet in the same AJAX function

Is there any way to send parameter to servlet and receive a json in the same AJAX function? Example of what I need: function UpdateGrafico(){ $(function () { //--------------------- //aqui preciso enviar uma...
asked by 16.07.2017 / 01:51
1
answer

Passing JSP date to Servlet

I have a Datepicker bootstrap as below, and I have a button that should pass the date selected in the datepicker to the Servlet that will use this date as the parameter for a mysql search. How can I pass this date to Servlet? I have tried severa...
asked by 12.07.2017 / 03:23
1
answer

Editing a record with Daialog framework of primefaces

I am a beginner in the world java and java web, starting with jsf, primefaces and I have a problem that I can not solve. I have a dataTable listing some data, I have the ajax event to select a field in the table and an edit button. when doing th...
asked by 18.07.2017 / 15:41
1
answer

Display specific error! java.sql.SQLException '

Hello I'm like the following code: <c:set var="exception" value="${requestScope['java.sql.SQLException']}"/> <p class="alert alert-danger"><b>Ops!</b> Erro: <br><br> <!-- Stack trace --> &...
asked by 17.05.2017 / 14:48
1
answer

Doubts - JSP - Servlets

Good morning everyone, I'm having trouble running CRUD in a test app .... I did it with the (almost) MVC standard, the problem is that by clicking on the "New Product" form and filling in the fields it does not insert, it only directs me to a...
asked by 12.05.2017 / 15:09