Questions tagged as 'java'

0
answers

Null value inserts 20 equal data

I have a question that is burning me the coconut, I'm with jsp and mysql Workbench, in one of the tables there is an attribute with an id with autoincremento, At the moment of entering the data from the form, I enter 20 repeated data, the Insert...
asked by 27.02.2018 / 03:02
0
answers

Signing policy in electronic invoice XAdES-EPES

Good afternoon, I am presenting an inconvenience, I am creating the signature XAdES-EPES in an electronic invoice, but when I'm setting the data to sign I do not know what to put in setPolicyKey, as I read I must configure the signature polic...
asked by 26.02.2018 / 21:48
0
answers

flows Binary files

I'm making an application so that through a menu, it allows you to: Add. List. Search. Delete. Exit. The fact is that more or less the first two options I have made, but with errors: In option 1, I need to say that if I say I...
asked by 26.02.2018 / 19:31
1
answer

Redirect pages jsf with parameters

I appreciate your collaboration, I'm doing a page jsf that performs a basic authentication with username and password, if the authentication is correct redirects to another page, however I need to send two String this is my f...
asked by 26.02.2018 / 02:25
3
answers

Error in Java array ArrayIndexOutOfBoundsException

Good, I am learning to program in Java and when executing the code: package useargumeny; public class UseArgumeny { public static void main(String[] args) { System.out.print("Hi, "); System.out.print(args[0]); Syst...
asked by 28.01.2016 / 22:19
0
answers

Fill in headers on request RestFul Jersey

I have a RestFul service which should receive a% custom header , the service works correctly, the service client believes it with the Netbeans assistant but I do not know how to fill the% custom% co, this is the client RestFul public class Alb...
asked by 26.02.2018 / 02:31
0
answers

Unable to add window - token null is not valid; is your activity running?

The fact is that I have a ProgressDialog within a class AsyncTask and the case is that when it is executed, to make a connection, the first time I get the Progress correctly, but if I do a search again (this is what the Asynctas...
asked by 27.02.2018 / 11:45
0
answers

Upload image to Firebase Database

I'm having trouble uploading an image to Firebase Database with Android Studio, could it be uploaded by converting it first to String in this way? private void cargarimagen(){ Intent intent=new Intent(Intent.ACTION_PICK); intent.setTyp...
asked by 28.02.2018 / 16:54
1
answer

How to auto select an item from an 'AutocompleteTextView' or simulate a click? ANDROID STUDIO

As an achievement that self-selects an item of ACTV without clicking, just setting the text that I need. that is automatically. If the received text is the same or if it shows an option that selects the first or the only one that it finds....
asked by 28.02.2018 / 16:11
1
answer

I want to call the data that is entered in a jtextfield from a main class, can it?

In my program I would like to call a jframe called "frame1" from a main class in that jframe I have 2 jtextfield, I want to enter values in those jtextfield and then use these values in the main class but it tells me that jtextfield are in priva...
asked by 28.02.2018 / 16:34