Questions tagged as 'java'

1
answer

Different onclick event for each part of a recyclerview

I have an app with a recyclerview which I have implemented View.OnClickListener in its respective adapter, all the functionality of OnClick works perfectly for each item in the recyclerview the problem is that I want it to behave differen...
asked by 28.10.2018 / 20:34
0
answers

Tomcat 9 WebXMLParseException with Spring 5

I've been trying to migrate an application from Tomcat 8.0.27 to Tomcat 9.0.12 to start using HTTPS / 2. The application has Spring 5.0 framework, these are the libraries I am using: <!-- https://mvnrepository.com/artifact/org.springframewo...
asked by 26.10.2018 / 06:57
0
answers

the jnlp files can not be executed in openJDK11

After installing openJDK11 in WIndows10 you can not execute the jnlp files or the mime-type downloads application / x-java-jnlp-file. Do you know if I should install a plugin or download an added package?     
asked by 26.10.2018 / 14:25
1
answer

Verify if there are whole numbers in a chain?

I have made this code: public static void main (String []args){ Lexico lex = new Lexico(); String cadena = JOptionPane.showInputDialog("Ingrese la cadena: "); System.out.println(lex.ingresarCadena(cadena)); } String[] Ec...
asked by 24.10.2018 / 14:51
2
answers

autocomplete paste multiple elements

I have a component of primefaces p:autocomplete my question is if it is possible to paste several elements at the same time. The component: <p:autoComplete dropdown="true" id="instalacion" maxResults="100" value="#{principa...
asked by 24.10.2018 / 16:00
2
answers

Print a value of an ArrayList that is Inside an ArrayList - java

I have an ArrayList that stores certain objects, but one of them is an ArrayList, the question is the next one to show a Jtable the names of the people and the biggest sale that the problem has made is that the sales are saved in an Arraylist...
asked by 28.11.2018 / 06:11
0
answers

I can not solve the error R android

I'm desperate. Let's see if someone does not give up and can help me solve it I think I've already seen more than 10 pages on how to fix the R error in android. but none of the solutions is worth me. My project worked fine and suddenly all...
asked by 13.11.2018 / 19:50
1
answer

Perform Search within a ListView with SimpleCursorAdapter

Good, I have the following code but it does not work and it does not throw me any errors, could you give me some guidance? , if anyone has encountered this problem. Thank you very much ListView mContactsList = (ListView) view.findViewById(R.i...
asked by 21.06.2016 / 09:04
1
answer

How to Compile and Generate a .WAR?

I have a project carried out in MAVEN with Eclipse which consists of connecting to a database with APACHE and showing some data ... how and where do I configure which database to connect to? What I do is: 1) Run As 2) Tomcat V7 Server at local...
asked by 22.06.2016 / 18:53
1
answer

Using CONTINUE in a SWITCH

What I want is for the program to go back to execute a switch if it goes into the default option, it could be done using a loop but the thing is to avoid using them. Here I leave my example: error: switch(empezar){ case "start": Sy...
asked by 14.10.2018 / 15:56