Questions tagged as 'java'

0
answers

continue running when you give duplicate key, how to proceed?

I have 9 tests in each procedure, but at some point the guy saved one of those tests in null, but it is possible to save null, as it may be that these tests are not applicable to that situation ... But for some reason he did not fill out a test...
asked by 16.10.2017 / 02:12
0
answers

Popular TableView with data coming from the apache derby [closed]

I'm trying to popular tableview with more apache derby data I'm not getting. Here is the code: ScreenGrid Class: package view; import java.awt.ScrollPane; import java.util.Observable; import java.util.Set; import javax.swing.JOptionPane;...
asked by 16.10.2017 / 00:41
1
answer

Repeated ID with facelets

The problem is that in a project that I use facelets is telling me that there is a component with the ID repeated. Although I have scanned the code behind finding that ID repeated, I did not find it, so I believe the error is related to the inco...
asked by 09.08.2017 / 14:43
0
answers

Display confirmation dialog before closing tabview of the firstfaces tab

I'm developing a web application in jsf that I need to work with tabs (similar to chrome). For that, I'm using the tabview component of primefaces that has been very useful so far. The problem is that I need to display a closing commit dialog...
asked by 04.08.2017 / 15:16
0
answers

Does not access the OnResponse () method retrofit android

I am making a call from a post method that returns me an id generated through retrofit 2, however, in return, it never accesses the onResponse method, I already tried to use other objects and formats, but none worked. Below the service return:...
asked by 04.08.2017 / 19:52
1
answer

Swipe Refresh on api 15

I'm making an application that uses swipe refresh a lot, would you like to know how to implement the swipe refresh on androids with api 15? If it is not possible how can I create the swipe for android that support it and an alternative for other...
asked by 05.08.2017 / 00:15
1
answer

File upload working by form, but not by postman

I made a webservice with Java Jersey to send files, when I try to send files using an HTML form, it works, however, when I try to send from a client or in the postman, a 500 error is returned with nullpointer. UploadResource @Path("/files")...
asked by 05.08.2017 / 04:07
1
answer

Starting Tomcat 7 (java 7)

I'm installing Jdk7 and tomcat 7. The installation of jdk7 was normal without any problem and the system variables have already been created and directed. After doing this step I was installing tomcat 7, however at the beginning I was giving an...
asked by 08.08.2017 / 17:03
0
answers

Sum of arrays in java matrix A + matrixB, results in matrix C

I need to do a matrix summation algorithm in Java, where the sum of the matrixA with the matrixB, generates the matrixC. so if matrixA has the same number of rows and columns as matrix B.    Calculate and show a resulting matrix C of the sum...
asked by 10.09.2017 / 22:52
1
answer

ConvertNumber of JSF negative values

Negative monetary values, when using the native JSF converter, <f:convertNumber type="currency"/> , are left with the character ' - ', before the R $. For example: -R$ 56.134.726,99 .xhtml <p:column>...
asked by 23.08.2017 / 18:29