Questions tagged as 'servlets'

1
answer

I can not insert values into the database with Java Servlet

I have a database and I want you to insert values in the table ... the program does not throw any errors ... but it simply does not insert the values in the database ... When I make an insertion through the database is fine ... but I can through...
asked by 15.11.2017 / 18:41
1
answer

JSP does not recognize servlets

I am developing a project in jsp with Netbeans (I have already developed several) but in this unlike the previous ones that I have developed I have decided to organize the code much better by classifying it in folders (the jsp files inside the r...
asked by 23.09.2017 / 06:19
1
answer

Receive postgres table in java

I have the following function in postgresql: CREATE OR REPLACE FUNCTION public.sp_sel_categoria(IN _codigo integer) RETURNS TABLE(acat_cod smallint, acat_nombre character varying, acat_descrip character varying) AS $BODY$ BEGIN IF _codigo =-1...
asked by 19.09.2017 / 20:43
0
answers

Problem with ajax and servlet

I have a problem sending a date from the java servlet to a jsp to do it in real time Servlet case "ConsultarxFecha": // int IdPln = Integer.parseInt (request.getParameter ("typePlan"));                     VOPlan DateShip = new VO...
asked by 01.09.2017 / 15:04
1
answer

Problems with Servlet access through Ajax call

Good morning, everyone, to see if someone could give me a hand to solve a problem I'm having. I'm trying to access a Java Servlet from an Ajax call via JavaScript, until then everything would fit, but when I make the call to the Servlet it re...
asked by 25.08.2017 / 14:45
0
answers

Hibernate: error in inserting in table with relation

For now, I'm working with these tables CREATE SCHEMA IF NOT EXISTS 'pasteleria' DEFAULT CHARACTER SET utf8 ; USE 'pasteleria' ; -- ----------------------------------------------------- -- Table 'pasteleria'.'Perfiles' -- ---------------------...
asked by 25.08.2017 / 00:18
1
answer

I have a question with servlets

Hello, this is my code that I have but I do not know how this would happen, I have a servlet truth I have no idea and I am suffering if someone can help me I will thank you, by the way I already have what is the connection and that I only...
asked by 16.08.2017 / 17:54
0
answers

problems with my code serveletes in the parameters

hi how I have problems with my servlet code because here where it says account is a parameter of my table and in fact before putting what is in the goGET I had put something like that //InsertarPublication ObtenerIdRedS= new InsertarPublicati...
asked by 16.08.2017 / 22:02
0
answers

Define doPost method, doubt with the action method

As I can do a doPost method correctly, I want to declare an ajax request to return a name, a sum and a product with servlets, I get an error when declaring the else, my files are index.jsp <%@ page language="java" contentType="text/htm...
asked by 05.06.2017 / 00:09
0
answers

How to redirect a jsp page to another with servlets in java

Good, my problem is that I have an error in the handling of servlets and I do not know the cause, I am working with servlets, and from "index.jsp" to "egresado.jsp" it works great, but there, when the client does some process to save in the data...
asked by 05.06.2017 / 22:56