Questions tagged as 'java'

1
answer

Problem with checkbox and listview

How to make the checkbox click if it is 1 and uncheck if there is 0 in a listview? public class AdminAcces extends ActionBarActivity { // Progress Dialog private ProgressDialog pDialog; // Creating JSON Parser object JSONPars...
asked by 26.09.2017 / 21:21
0
answers

Configure x509 in Spring MVC

I need some advice with an application that my team and I are developing. The issue is that we have been asked to create an application that can be accessed through PKI. We have given the .cer and the .key to validate, and a configured nginx...
asked by 07.09.2017 / 07:44
0
answers

Error spring mvc and tomcat

I'm trying to learn java with spring mvc in neon eclipse, with tomcat 8. I have this only controller for now: package com.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Con...
asked by 07.09.2017 / 14:43
1
answer

problem with setResult (1, intent) returns another value

I am sending yamar to an activity from a fragment to process an information but when I return the result in the resultCode of the onActivityResult returns me random values, what is this? this is the code I'm using: Intent intent...
asked by 01.09.2017 / 03:54
1
answer

Reopen closed activity with onbackpressed ()

I have 3 activities: The main one, a secondary and a third not very important. When my application is opened for the first time, the main activity that has category launcher is executed, and according to a shared preferences that contains a b...
asked by 31.08.2017 / 23:15
0
answers

Problem with ajax and servlet

I have a problem sending a date from the java servlet to a jsp to do it in real time Servlet case "ConsultarxFecha": // int IdPln = Integer.parseInt (request.getParameter ("typePlan"));                     VOPlan DateShip = new VO...
asked by 01.09.2017 / 13:04
2
answers

How to eliminate in a pilo or arraylist a data and that the positions move? [closed]

The idea is in a pile or arraylist to eliminate a data that is in the middle and that space that is left there is not null so that if several numbers are deleted there are no null spaces between the data of the array or stack.     
asked by 01.09.2017 / 01:42
0
answers

Help, with java.lang.OutOfMemoryError error

Good morning, I am developing a program to help me count how long the basic orderings take and thus make a complexity analysis, but I run into this error of "java.land.OutOfMemoryError: GC overhead limit exceeded", I do not know if it has to do...
asked by 31.08.2017 / 01:46
0
answers

I want to present 4 images in a loop that repeats indefinitely. For now, just run the images once and the presentation is over

package vargas_project.market; import android.animation.Animator; import android.animation.AnimatorInflater; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.app.Activity; import android.os.B...
asked by 03.09.2017 / 17:16
1
answer

Error dd_in_ear_load_EXC_ when deploying ear in websphere

I have an EAR that contains a WAR of a web application made with jdk1.8.0_101 and tested on an apache-tomcat-7.0.81 server. Use servlet 3.0. I think the ear with the following structure: -multiSubidas.ear -lib -librerías jar.....
asked by 25.09.2017 / 16:51