Questions tagged as 'java'

1
answer

Configuration error on JPA and PostgreSQL connection

I'm having trouble connecting JPA to PostgreSQL. I think the problem is in the application configuration. I'm using the Java 8 version, and my pom.xml file is: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www....
asked by 25.11.2018 / 22:07
1
answer

.jar does not find the path of reports ireport

Good afternoon Sirs! Home I'm having a problem and none of the other posts could help me ... I was checking my TCC and I just came across the following problem: My .JAR executable can not identify the folder where the reports created by iReport...
asked by 25.11.2018 / 17:07
1
answer

Repeat the animated background

I made an application with an animated background, here is the code: Main layout: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/background...
asked by 05.02.2014 / 20:04
2
answers

Receiving wrong id

In the small project that I'm doing, the user enters his login and password. The system posts to a URL and checks the response. If you log in, it returns some things like user ID, email and everything. I need to get the user ID to be able to...
asked by 27.11.2018 / 13:28
0
answers

I need to save parameters to multiple tables

I am returning some parameters and need to break these parameters down into two tables. Follow the initial code: lamina.controller.js function salvar() { // remove a mensagem de sucesso delete vm.lamina.sucesso;...
asked by 12.11.2018 / 18:03
1
answer

Query returns value of another user

I'm not able to compare the code (from the logged in professional) with the contracted codigoprofessional (which must be the same as the logged in professional) in the sql query and this causes the query to return a value from another profession...
asked by 10.11.2018 / 22:05
0
answers

Error using resources of a Servlet

Good evening colleagues, Please, I need the help to understand what is going wrong, I have the following form: form action="CronogramaNegocio" method="get"> <div class="col-md-3 form-group">...
asked by 11.11.2018 / 03:19
1
answer

I can not display anything in a JSF view

I'm working on a web application to develop a module, but I can not display anything in the view, not even a simple message. The view loads the template, but does not display anything I put in the view. The only thing that is being displayed...
asked by 09.11.2018 / 13:56
0
answers

JSF + PrimeFaces = FullAjaxExceptionHandler

I'm developing an application using JSF + Primefaces, in the code of a screen has the following button <b:commandButton value="Pesquisar" look="primary" style="width:100%" process="@form" update="@form"...
asked by 08.11.2018 / 19:00
3
answers

Difference between Comparator and Comparable

In Java, what is the difference between these two interfaces, Comparator and Comparable? When to use one or the other?     
asked by 09.11.2018 / 11:24