Questions tagged as 'jsp'

1
answer

Access a JSP variable from another JSP

I have a jsp menu.jsp <li <% if(pps_pag==1){ out.println("class='active'");} %> > <a href="usuarios.jsp" onclick="javascript:$('#cargando').modal();"> <i class="fa fa-users">&...
asked by 21.05.2017 / 16:54
2
answers

UTF-8 IN JSP does not work

I have been trying to get my form to save the ñ character, however whenever I debug this character is replaced ... what is it due to? I have tried this way: <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@include f...
asked by 16.05.2017 / 16:56
1
answer

Ajax validation errors

Hello good day I have a question about how to make an error or an exception in Ajax. My problem is this: When I select a city that does not have zones, (records in BD) I require an error message to appear. However, currently the prog...
asked by 11.04.2017 / 17:51
1
answer

response.sendRedirect throws bug

I have a simple web page with jsp, when I close session use: request.getSession().invalidate(); response.sendRedirect(request.getContextPath() + "/index.jsp"); To delete the session and redirect to the main page. But if the user clicks b...
asked by 16.03.2017 / 18:08
1
answer

Show image BLOB type of MySQL in a JSP?

I have this code but it does not show me anything, as I can do to show the images I have in my database on a jsp page. mostrar.jsp: <%@ page import="java.sql.*" %> <%@ page import='java.io.InputStream' %> <%@ page im...
asked by 08.12.2016 / 04:47
1
answer

as I filled out a drop-down list in jsp with a mysql servlet query

I need to create a drop-down list in jsp with a query made in mysql I am working with mvc attached the servlet where I have the data of the query but I could not send the data to the drop-down list and also attached the jsp page. Can you tell...
asked by 01.03.2017 / 22:33
2
answers

as it redirects into nodejs and jade

File app.js var express = require('express'); var routes = require('./routes/index'); var bodyparser = require("body-parser"); var middleware = require('./routes/middleware') var programmers = require('./routes/programmers'); var programmersMo...
asked by 16.11.2016 / 14:44
1
answer

Can JSP and Node JS be joined for backend?

I'm using Node JS for backend . Is it possible to use JSP to receive data from one form, and Node JS for another?     
asked by 16.11.2016 / 03:55
1
answer

How to extract a name from my controller?

I have times trying to extract the current user to be able to make a comparison in my controller so that only the user who made it can delete a reservation. But I have not found a way to get that user, any ideas? Controller @RequestMa...
asked by 02.11.2016 / 16:05
1
answer

Pass variable from JSP to SERVLET using AJAX

I have a list of orders and when I click on one I want to open a new page with the details of that order. I was reading and it can be done with ajax but all I saw were with form but I want you to click on the div. Orders.jsp <%@ taglib p...
asked by 08.11.2016 / 04:50