Questions tagged as 'java'

1
answer

Read Javascript on all ForEach items

Well, I have a foreach that loads several inputs, and I want my javascript code to read on all the inputs generated by foreach, can anyone give me a hint how to do it? Example <c:forEach items="${listaServico}" var="lista" <input id=...
asked by 26.07.2017 / 03:33
1
answer

EditText with Mask

I needed a mask for a horimetro of tractor with 5 fields a comma and another one capo later. Example: "#####,#" I even found a cool MaskEdit, follow the link: link The only problem is that I need the 'hint' of EditText to have the text...
asked by 25.07.2017 / 20:16
1
answer

NoSuchElementException error when capturing data entry with Scanner

I'm having problems with data entries using Scanner with JOptionPane working fine. Exception in thread "main" java.util.NoSuchElementException at java.util.Scanner.throwFor(Unknown Source) at java.util.Scanner.next(Unknown Source) at j...
asked by 02.06.2017 / 03:03
0
answers

Modify the user-agent in sending in a request soap jax-rpc [closed]

I have a problem with a java project that sends soap requests to the jax-rpc format. Being that now I have to modify the user-agent that is sent in the request. I have already researched google and here (stackoverflow) and still could not change...
asked by 28.07.2017 / 20:59
0
answers

Java / Postgresql - Function does not return values

I am creating a webservice where I will return the values from my postgresql table. However, when I perform this function, a blank screen appears as if there were no data to be returned. I purposely failed to connect the connection data as drive...
asked by 27.07.2017 / 21:28
1
answer

Assigning and updating static variable in java

I have a problem with a Static variable. In the code I assign to a variable that is not static, the contents of a Static variable. Then I update the static variable, but the variable that received the value of static there at the beginning is up...
asked by 15.08.2017 / 20:56
2
answers

Compile and execute project via command line

I have an Android application developed in Eclipse. I know I can compile and run a project from the console , however I do not know how to do this. The basic steps for compiling a program JAVA is to save with the same class name follo...
asked by 16.09.2016 / 21:27
0
answers

The web element is clicked but no action is performed (Android) [closed]

I'm sorry for the language, but I'll be more direct I'm having a problem, I find the (mobile) element in a real device, I point to it and click, but it always returns the 'java.lang.NullPointerException' error message, can anyone help me? Cod...
asked by 28.08.2017 / 20:59
0
answers

Problem accessing SQL database without error [closed]

I have a code that uses SQL, and in that database, I have a column of dates, then I have a code that returns the maxID (number of rows, or number of dates) and I have another code which goes to that column and returns the date with the ID specif...
asked by 12.07.2017 / 12:39
0
answers

Buy Functionality in App (In Billing) [closed]

I would like to make my app have the option to buy functionality. Type I made two apps, one paid (full) and one free (with advertisement). I would like the person to click to buy remove the advertisement and add the activities related to t...
asked by 09.07.2017 / 22:51