Questions tagged as 'java'

0
answers

Problem accessing server through rest

The following happens to me: I need to create a validator to capture the DNI entered in the form, connect to an external server by returning a json if said DNI exists and, depending on the means of transport chosen and the letter that appears...
asked by 21.06.2018 / 16:01
0
answers

What is the correct way to load in a table data recovered with Spring, Hibernate and JQuery?

I am working with Spring mvc, hibernate with connection to SQL and I have trouble loading data on a table, which I have is the following. Pojo: public class Trabajador implements java.io.Serializable { private String idTrabajador;...
asked by 23.06.2018 / 19:35
1
answer

Pattern finder [duplicate]

I return to a question I asked a few days ago. The intention is to create a program that generates a template like the one shown below in an "intelligent" way. That is, a sequence generator that will vary according to the values for S, E or A....
asked by 21.06.2018 / 11:07
0
answers

Match items in a List of Objects

I do not know if the title is the most appropriate. I have an object that is a List of Objects (extracted from a BBDD using JPA) which contains 3 objects that in turn are Lists; 2 of type String and 1 of type Double. To try to be more exact, the...
asked by 21.06.2018 / 12:43
1
answer

Error Exception in thread "main" java.lang.NullPointerException in class and main [duplicate]

I get this error, please help, I will leave the class where the error comes Exception in thread "main" java.lang.NullPointerException at Afiliado.anioAfiliado(Afiliado.java:106) at Afiliado.ValorFecha(Afiliado.java:93) at Afiliad...
asked by 22.06.2018 / 22:06
0
answers

Join two TableView in 1?

I present a form that is connected to 2 tables in the BD, my question is: can one form a single table ?, for the moment the form would handle it in two tables, different Code: **@FXML private TableView<Productos> **tblViewProductos**; @F...
asked by 22.06.2018 / 17:01
1
answer

How to insert the value of two foreign keys in another table in MySQL?

Good day, I have a problem and I would like someone to help me. I have a database in which I am trying to insert in the table dig_item, but this has two foreign keys from the tables dig_pagina and dig_hritem, what I need is to insert as su...
asked by 22.06.2018 / 16:49
0
answers

Upload data to Spinner and DatePicker

I have this code so that when I select a record in the TableView they automatically load me in their respective fields: public void gestionarEvento() { tblViewProductos.getSelectionModel().selectedItemProperty().addListener(...
asked by 22.06.2018 / 03:59
0
answers

how to change the route of my view jsp and can find the one that I specify

As I do so that I can not depend on the configuration of the web.xml when I create my view jsp (index.jsp recognizes me what comes by default in the welcome file) and when it can not find it, it marks 404 error. and I want you to recognize me...
asked by 22.06.2018 / 03:31
1
answer

Game of dot and fame in Java

I am a student of 1 semester of ing. of systems, I have to make a game of "point and fame" in java and I am quite entangled to tell the truth. The game tries to generate 4 random numbers that are not repeated, the user will try to guess what the...
asked by 20.06.2018 / 21:43