Questions tagged as 'jsp'

0
answers

Update the data of an HTML page with JSP

I'm doing a simple system in JSP, where the program should simply fetch a float from a database and then add it to a variable. Everything is working, but I can not get this information to be displayed by HTML, follow my code: <form name="or...
asked by 03.10.2017 / 04:04
0
answers

Get value in the forEach of JSP in JQuery to display in label

I would like help getting a value that is set within a forEach in my JSP, playing into Jquery and displaying it on a label on the same page. This forEach retrieves a direct list from the database. I used hidden to...
asked by 10.08.2017 / 07:00
1
answer

Read Javascript on all ForEach items

Well, I have a foreach that loads several inputs, and I want my javascript code to read on all the inputs generated by foreach, can anyone give me a hint how to do it? Example <c:forEach items="${listaServico}" var="lista" <input id=...
asked by 26.07.2017 / 03:33
1
answer

Doubt with Expression Language JSTL JSP

How to check the value that is arriving in the EL, in the variable listItems for items? <c:forEach var="pedido" items="${listPedidos}" varStatus="id"> <c:if test="${pedido.tipoPedido == 'MESA' }"> <tr>...
asked by 21.07.2017 / 17:25
0
answers

Run search update on button

My search field updates a selectManyMenu whenever something is typed in it <p:inputText id="txtFiltroOrgaoDestino" value="#{mBManifestacao.txtFiltroOrgaoDestino}" style="width: 350px"> <p:ajax update="slcUnidadeTramite" event="key...
asked by 16.08.2017 / 21:44
0
answers

Highcharts JSP AND JAVASCRIPT

Good morning I'm doing a chart using the Highcharts library, I implemented it statically to run the tests, but now I need to pass the database information to it. I have read and saw that there are several ways, by XML, by Json. I wanted to know...
asked by 03.08.2017 / 15:10
0
answers

Help with google maps API + database

Good afternoon guys, I'm doing my TCC using google maps api and I found a very good topic here: How to Icon Walk in the Google map api Where is explained how to "walk" with the marker on the map and give a live moving effect. This topic...
asked by 29.06.2017 / 22:34
0
answers

Doubt with JSP - Message

I need help, to display a message through fmt: message. The situation is as follows. I have a form that is submitted via $ .post. In the controller that receives this request, I perform a validation through the BindingResult. If I get an e...
asked by 26.06.2017 / 14:35
0
answers

execute CMD command through JAVA

I'm having trouble running a command in CMD through JAVA. This command is executed by a .jar that is inside a directory "C: \ CopyUtility \ CopyUtility.jar." This is why I need to enter this directory and execute the command. For this I am us...
asked by 08.05.2017 / 01:40
0
answers

With loading a google chart using Spring MVC

I have a jsp page with the following code that uses google charts and shows the graphs on the jsp page. When I use a servlet as a controller it works perfectly. <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html>...
asked by 09.05.2017 / 21:05