Questions tagged as 'jsp'

1
answer

Why does not response.sendRedirect work?

I would like to know why the response.sendRedirect("URL") instruction does not work for me, then I leave the code, thank you very much. Conexion c = new Conexion(); Usuario usu = new Usuario(c,c.crearConexion()); boolean resultado = usu...
asked by 02.04.2018 / 21:33
1
answer

Problem with listing an ArrayList in JAVA JSP

I have the following problem: I'm doing a shopping cart, a task, I'm a novice in this Java Server Pages, and I have a Product class where I have a method that returns a List and invoke that method from a JSP called a catalog, see here: //Me...
asked by 05.04.2018 / 00:28
1
answer

Problem to show data from mysql to modal with jsp and bootstrap

I have a problem showing data from mysql in a modal with jsp and bootstrap to invoke the modal, I have a button of type button, which is the one that opens the modal, and in the modal, data arrive from the mysql database. The problem is that whe...
asked by 17.03.2018 / 20:30
0
answers

Send variable from one function to another jsp

I have this function that saves a variable called high .. <script type="text/javascript"> var alto = document.getElementById('table').offsetHeight; //document.getElementById('parent.iframeCont'); obj.style....
asked by 06.03.2018 / 12:50
0
answers

File jsp does not open in the browser, but if it does in eclipse

As I mentioned in the question. a jsp file runs in eclipse but when running it in a browser it does not open and it shows all the code. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>...
asked by 02.03.2018 / 15:25
0
answers

EXPORT DATA FROM A HTML TABLE WITH PAGE TO EXCEL

I have this function to export data from a table that has pagination with Datatables, and it only exports me the view of the table and not all the columns. function exportGrid(tableid,filename) { var table= document.getElementById(ta...
asked by 22.02.2018 / 23:44
0
answers

Problem to execute the scripts

I'm calling a JSP from a servlet, when running everything works fine, but the scripts do not work. I am calling the jsp in the following way: RequestDispatcher rd=request.getRequestDispatcher("Registro.jsp"); rd.forward(request...
asked by 13.02.2018 / 16:52
0
answers

Reports and subreports ireport and netbeans

Good afternoon: I am working with netbeans and ireport, in the attached image I send the report: Plan22T.jasper reportFile = new File (application.getRealPath ("/ Certifica / Plan22T.jasper")); This report filled it with a bean: F...
asked by 07.02.2018 / 21:55
0
answers

SSL certificate does not allow to specify port 8080

Good day to all the readers and in advance thank you for all the help you can give me. A few days ago searching the internet I found that you can generate SSL certificates for free and in fact followed the steps of a tutorial and the certificate...
asked by 20.02.2018 / 06:59
0
answers

Problem when running jsp file in eclipse

When I run a file, the following appears in the console: How could I solve it?     
asked by 02.02.2018 / 18:05