Questions tagged as 'java'

0
answers

Problem with Lists in JSF & JPA

I do not know if the way I'm doing is correct, but I have a problem:    java.lang.IllegalArgumentException: id to load is required for   loading. When I try to remove a template from the list, and in addition, the list of selected templat...
asked by 29.11.2016 / 00:59
1
answer

Problems inserting an OBJ into a LIST

I'm doing a search using LIKE , MySQL with JSF . Whenever I enter the search result within a array to return to my JSF , array adds, but always overwrites items with the last inserted. My code...
asked by 23.11.2016 / 00:59
0
answers

Create a "Submit" button after creating a spinner with email confirmation

I'm new to creating android applications and I wanted your help Crier no Navigation Drawer Spinner with 2 text boxes, a list drop and a Submit button where this button will have to fetch the spinner returns...
asked by 22.11.2016 / 17:42
0
answers

VisualVM Garbage Collector

I have a Java Web application using Spring running on Tomcat 7.0. As the days go by, memory usage goes up slowly and does not go down much, although through VisualVM I realize that the GC runs frequently. But just by running the VisualVM GC by c...
asked by 24.11.2016 / 14:34
0
answers

How to edit an entity that has another object in jsf?

Good afternoon people, I'm new to programming and I'm having problems with my project in jsf. I have a client class that has an address object, with @OneToOne relationship for the address. I am able to query my address within the edit met...
asked by 25.11.2016 / 17:21
1
answer

Object injected but is null [duplicate]

I have an object that is injected into my converter: package br.com.pokemax.modelo.converter; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.convert.Converter; import javax.faces.conver...
asked by 24.11.2016 / 22:16
1
answer

Join the database with the java application [duplicate]

Hello, I did a college job using java screens using ide netbeans, I made crud in the database, using postgresql as the main bank, I got it done and everything, but I would like to just send the jar to the teacher, in my computer the jar works,...
asked by 24.11.2016 / 17:19
1
answer

Primefaces: DataTable LadyModel within a Dynamic TabView

I am using Primefaces 5.2. and I have a tabview Dinamic and inside every Tab created, a DataTable . After I sort a column, or do any pagination action on the table and change from Tab , I come up with the foll...
asked by 21.11.2016 / 14:30
1
answer

How to print the name of the Browser or the OS in a JSP - Java Web

I would like to know how to print the browser the client is using and the OS if using jsp. Some people have suggested using ${header["user-agent"]} however, this command returns a lot of information and I would just like the browser and O...
asked by 21.11.2016 / 01:29
0
answers

Android - Create a Socket in Singleton

Good evening, I am developing an android game in which to play online has to connect to the server. At first I was trying to create sockets in an Activity where the game will occur, but the app was crashing when creating. After some research, I...
asked by 18.11.2016 / 23:29