Posts by Kennedy Anderson • 55 points
12 posts
-
1
votes1
answer282
viewsQ: Relationship of tables with the same attributes
My system is for employee control. Where we have the following types of people(or positions): agent, analyst, supervisor, coordinator and manager. Like I did: I created a table for each type of…
-
0
votes1
answer955
viewsQ: How to get the value of an input with getParameter?
I’m not getting the value of the following input. <input type="text" name="rua" class="form-control" id="rua" placeholder="Rua/Av/Estrada" disabled required> This field it is filled through a…
-
2
votes3
answers164
viewsA: How to add a JSTL attribute under one condition?
Good evening. First thanks for the help. I managed to solve the problem. Basically I check first those that value that have the key "Y" and if it exists, I already give a 'Selected' in them. If not,…
-
0
votes3
answers164
viewsQ: How to add a JSTL attribute under one condition?
<div class="body"> <selected name ="multSelectSkill" id="optgroup" class="ms" multiple="multiple"> <optgroup label="GRUPO 1"> <c:forEach items="${skillsOperador}"…
-
0
votes2
answers215
viewsA: getParameter returning the same value
In this example I do not get several "ids" but the one I click on the respective button. His ID is saved to the JSP foreach and then picked up a single ID with getParameter in Java.…
-
0
votes2
answers215
viewsQ: getParameter returning the same value
I have a table where there’s a column ID - NAME - ACTION 1 -- USU1 -- VER 2 -- USU2 -- VER 3 -- USU3 -- VER in JSP I am storing the id inside a Hidden input. <input type="hidden"…
-
1
votes1
answer57
viewsA: Filling an object through another object
got! Before setting the values in other objects I stopped them, because it was null. supervisor.setEndereco(new Endereco());
javaanswered Kennedy Anderson 55 -
0
votes1
answer57
viewsQ: Filling an object through another object
I’m trying to fill parameters of one object through another. When debugging the code it stops at that part. First line is 72. The variable pNumer takes the value correctly from JSP. But I believe…
javaasked Kennedy Anderson 55 -
0
votes0
answers391
viewsQ: Redirect JSP page
When registering the "object" in a JSP, it calls a command that at the end calls another that redirects to the "list". RequestDispatcher dispatcher =…
-
0
votes1
answer241
viewsA: Taglib - Condition test between JSP and MODEL
I was able to solve the issue of JSP understanding the parameter. I changed the validation of: request.setAttribute para session.setAttribute Now the problem is changing menu. Because when the user…
-
0
votes1
answer241
viewsQ: Taglib - Condition test between JSP and MODEL
I am trying to make my JSP (index.jsp) execute a condition (if) with taglib, to decide which menu it will import, depending on an attribute (Boolean)) that is in the model (user.java). I have…
-
0
votes2
answers1088
viewsQ: Delete in more than one table with an SQL?
I’m trying to apply a DELETE in more than one table, tables have a column (not of the same name) with the same attributes. I want to delete through ID. But I have the table usuario with column id…