Questions tagged as 'jsp'

1
answer

Error getting GET attribute in jsp!

I'm facing the following problem, I'm doing the following redirect: response.sendRedirect("../../index.jsp?NA=1"); Where the url looks like this: http://localhost:9095/Controle_de_Materiais/index.jsp?NA=1 But when I try to get the attr...
asked by 31.12.2016 / 02:12
1
answer

Problem in web.xml

Hello I have my web.xml, I want to put the jstl dependency, for this I am using the following code: <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version&...
asked by 17.01.2017 / 18:57
2
answers

Pass values from a table to a modal dialog (JSP)

Good afternoon everyone! I'm trying to pass values from a table to a modal window, but I'm not getting it ... I've tried something jquery, but I do not know what I might be doing wrong ... I will post the code, which is working, but without chan...
asked by 06.11.2016 / 19:18
1
answer

getOutputStream () error has already been called for this response

I have the following error in my application: getOutputStream () has already been called for this response. Ok, the code snippet that is causing this error is as follows: boolean hasLogoLogin = new BrandResourceDao().selectByTag(BrandRes...
asked by 08.03.2016 / 15:08
1
answer

how to implement jsPanel with jsf

I'm trying to render an xhtml page inside jsPanel, but just get the jsPanel empty. this is the javascript: function executeLoad(aUrl){ $.jsPanel({ load:{ url: aUrl }, selector: "#content", title: "com url", boo...
asked by 08.12.2015 / 14:32
1
answer

Notifier of any event that the user performs in the system [closed]

I'm using Spring Framework for java and would like to create I can create a warning type, <scan> , which shows in the table that a new row was added (this line comes from the database), and clicking on it to disappear implying that t...
asked by 14.01.2016 / 18:28
1
answer

Define Attribute from radiobutton JSP

I am putting together a generic form for registration of individuals and legal entities and the definition starts from two RadioButton's that changes the fields, after they are filled they are sent to a Servlet and then to a DAO c...
asked by 02.11.2015 / 19:04
1
answer

One method of the controller works correctly and another similar one returns error

I have two Controller files and two JSP files with the same structure. In JSP I have the following structure for AJAX: $.ajax({ method: "POST", url: '/modulo1/funcao1', data: { 'atributo1': atributo1,...
asked by 20.10.2015 / 15:48
1
answer

Error registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister

I am making a JavaWeb system using jsp that is in this topic: Doubt in query database, error in query , and in a query with the database, I came across a driver error that is Right below. I use the netbeans IDE with server gl...
asked by 21.08.2015 / 20:59
1
answer

Create input fields according to the size of an array

Good evening, I'm getting via JSON a List with the structure below: anexo: [{cod: 5, nome: "anexo1.pdf"}, {cod: 6, nome: "texto.txt"}] And I use the function below: $.getJSON(url + cod, function (ajax) {...
asked by 21.04.2015 / 04:50