Questions tagged as 'jsp'

0
answers

How to configure DB through an environment variable?

I have a JSP application on multiple clients. Currently the database configuration is in a variavel.propriet file, and I get through the private static String getUrlBanco() { ResourceBundle b = ResourceBundle.getBundle("Base.vari...
asked by 24.02.2016 / 13:05
1
answer

Tomcat does not display jsp pages on production server

I'm using Tomcat 8 in my application, when I generate .war to do deploy it apparently does everything right. However, when I go to the page /index.jsp is giving error 404. When I check the files on the server, all the JSPs...
asked by 24.12.2015 / 13:18
0
answers

How to remove the value of the variable with JSTL?

I'm testing to clear a list of objects that is passed to the JSP, and I execute the command below: <c:remove var="lista" scope="session" /> <c:out value="${lista}"></c:out> But when I call the page with the JSP, I find the...
asked by 28.09.2015 / 22:37
0
answers

Doubts on how to develop a Skill bar

Good afternoon, I'm having trouble finding anything on skill bar, usually I only find percentage skill bar, and like the example image below, I wanted to develop a field where the user can add their skills, as in Linkedln. If anyone knows how to...
asked by 07.08.2015 / 18:54
1
answer

Pass Function javaScript by ajax [closed]

I'm trying to return an alert from the server, but I can not. the idea would be as follows index.jsp <html> <head> <title>Teste</title> <link rel="stylesheet" type="text/css" href="../estilos/estilo.css" />...
asked by 21.07.2015 / 16:33
0
answers

Combobox + UF + City + MySql + JavaScript

I have the following question: I have a project in Java JSP and I do not know how to select the UF combo and the City refresh as I selected earlier. Below I have an example with fixed data, but I want to do it in mysql, I want to know how I can...
asked by 31.03.2015 / 23:00
1
answer

Value sent to JSP via Spring Model does not appear

I'm developing a project using maven, Spring framework (mvc module), and searches the database through JDBC. I have the following code in my controller: @RequestMapping("/authors/edit") public String edit(Author author, Model model) { I...
asked by 11.09.2014 / 03:20
2
answers

How to do single registration query

I have a JSP that on the same screen I make a query record. When I open the screen I basically have the fields for the registration to below a grid with the listing of the bank, so far so good, working. As soon as I open the screen, the bank dat...
asked by 18.08.2017 / 14:45
1
answer

Problems in implementing JSP using Struts2

After executing the following jsp : <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEn...
asked by 19.11.2014 / 20:35
1
answer

Send a servlet object array to a jsp page

I need some help I have a servlet that is returning an array object p with a select query. I would like to know how to display this object in my jsp in HTML input fields     
asked by 16.10.2018 / 03:12