Questions tagged as 'java'

0
answers

Validation using Spring and Thymleaf

I have a page with two forms. One to make the update only the password field, and another to update two name and email fields. When this update page opens, it has the fields filled in with their proper name and email values. The password field a...
asked by 25.04.2017 / 20:30
1
answer

What is the best way to connect to a web server using Java Web?

I'm working with a Java Web application, which will constantly grab a txt file, and update that data constantly in an HTML page, but I do not know what the best option to connect to a web server, should I use sockets or a connection per post wit...
asked by 10.04.2017 / 21:31
0
answers

RxJava receiving the data

How to separate this array into 3 arrays, type one for gradesList, one for faultList and one for classList. I'm using RxJava.    [GradeList (gradesList = 4.5, faultList = 5, classList = math)   GradeList (gradesList = 9.5, faultList = 10, cla...
asked by 10.04.2017 / 22:18
1
answer

What is the largest number. I can not understand what's missing?

I'm doing some for loop exercises to apply what I've learned. In this classic exercise ask for 10 numbers for the user and show in the end which one is the greatest. I did so: import java.util.Scanner; public class TheBiggerNumber{ public...
asked by 10.04.2017 / 00:12
1
answer

IllegalArgumentException: illegal value in JPA when recovering JSpinner value

I'm testing an event on a JTable of type tableMouseClicked(evt) , but I'm having some errors returning the values in the respective JTextField and a JSpinner I've set up. Below is the Stack Trace for the given output when I click on...
asked by 07.04.2017 / 19:49
0
answers

Select item in JCombobox and return associated value in JTextField in JPA

I try several times in a Swing form so that when selecting the option in the JCombobox the column item value of the same row appears in the JTextField. Once I was able to do this logic however it was with JDBC and some functions that I used for...
asked by 09.04.2017 / 04:56
1
answer

Spring returning NULL in only one form field

I'm learning Java and am having a problem with a form using Spring. Until I found a similar problem here in the forum but a little different from mine. It is a basic login page, containing only two fields, login and password. The problem is t...
asked by 08.04.2017 / 19:45
0
answers

Android - Runnable variable

I'm developing a class for UDP communication with Android + an ESP82666, I only have one problem in it. My Runnable "sender" can not get the List toSend updated, so the toSend is always empty. What can I do? package gameutil2d.project;...
asked by 08.04.2017 / 22:43
1
answer

Search using two parameters in the JPA

Good evening everyone, I am bundled here in a logic, I made the DAO for all the CRUD of my project only in that it will not only have the search by the ID and also I am trying to do some method that searches the request by the ID and also by the...
asked by 05.04.2017 / 23:54
0
answers

Form via method PUT is not sending the data to a service restEasy

I'm sending a form via Ajax, my front is done in AngularJS. I capture the form information and send it to a service that is in Java RestReasy. But he arrives Nullo! Could someone help me? In my controller it looks like this: var req = {...
asked by 05.04.2017 / 15:13