Questions tagged as 'java'

0
answers

Sockets read byte by byte

I'm doing an exercise which is a client and server. (TDP) Client asks 2 questions The server reads them and replies them with results already saved ("for example with a list of random names") It's part of it. But the exercise tells me the...
asked by 05.04.2018 / 18:21
0
answers

Upload file with progress bar on the same page in struts2

I need to upload a very heavy file and that's why the progress bar on the same page. I have searched a lot and the interceptor execAndWait does not work for me because it puts the progress bar on an intermediate page. So I developed my ow...
asked by 04.04.2018 / 18:26
0
answers

Create a program in javaFX by creating 3D objects and then selecting them using a double linked circular list

What I have to do is create a 3D object in a java project with the javaFX libraries and after creating the objects I create a double linked circular list that allows me to search among the different objects that were created I still can not l...
asked by 04.04.2018 / 21:01
1
answer

How to upload multiple XML files to MySQL

I need your guidance for the following: In my web server I have a directory where invoices are saved in XML format, a file is generated for each invoice issued so I only know the file extension. The information of each XML I need to store it in...
asked by 05.04.2018 / 20:40
0
answers

How to save a list of data within a vector to save in a JTable

I am making a small software that allows entering the data of a new user and that the employee can see the data in a table. But it does not save the data in the JTable so I'm trying to create a vector to save the data and pass it to the table bu...
asked by 05.04.2018 / 21:31
0
answers

How to give effect to an edit text that works as an android button?

It turns out that I'm doing a login / register in my App. But I need to give some effect to the editText and the cardview (this one with a button shape), which function as buttons in my APP. Since up to now they are listened to thanks to SetO...
asked by 06.04.2018 / 16:07
0
answers

Consolidate data from Multivalued Maps in 1 Map or List in Android

I have this JSON and I am mapping the "Users" with GSON but I need to consolidate the maps (in this example 2, but it can be more) in only 1 Map or 1 List because I need to send the consolidated to a Custom Adapter , like you can see, I ha...
asked by 10.04.2018 / 20:22
0
answers

It does not update in value of a JFormattedTextField, when doing field.setText ()

I'm doing campo.setText() , by pressing a button this value is displayed in the interface when it is updated. The problem is that by doing campo.getText() , you get the previous value that was entered using the keyboard, not the v...
asked by 16.04.2018 / 16:14
3
answers

Consecutive addition

Hi, I'm learning how to program and I had to make a code that adds several numbers but when I run it gets stuck after putting the number of numbers to add, someone knows where I'm wrong. here the code: import java.util.Scanner; public cla...
asked by 16.04.2018 / 18:08
0
answers

Spring MVC IT Test fails because it can not find the HTML page to return

I am trying to do Integration Test (JUNIT) on a webapp with Maven + Spring 5 + thymeleaf and, when I launch the following test: MockHttpServletRequestBuilder createMessage = get(prueba/alta).secure(true) .contentType(MediaType....
asked by 02.04.2018 / 17:23