Questions tagged as 'java'

3
answers

Resultset of a query in java

Hi, I have a project in which in a java class, I did the query to the bd of oracle, I did it of type ResultSet, so that my servlet that works as a controller, could discriminate the result and see where it redirects it , the query only brings a...
asked by 24.05.2016 / 14:02
1
answer

Is there a way to take the BIOS date and save it in a variable?

I can not find a way to take the BIOS date to make a Demo for a Java application but nothing. Does anybody have an idea? I've tried this: Date fecha12 = new Date(System.currentTimeMillis()); but take the windows date that can be changed and...
asked by 31.12.2018 / 22:14
0
answers

Java Verifier.verify always returns false

I have to validate the signature of the petition everything happens fine until I run verify that it always returns false, someone could give me a hand public AuthenticateMethodResponse verifyHttpSignatureRequest(ContainerRequestContext reques...
asked by 05.01.2019 / 15:34
1
answer

How do I change the color of a cell in a jTable? [closed]

I've been investigating how to do it, but the only thing I find in creating another class extending DefaultTableCellRenderer but the problem I have is that I already have the code that creates the table done, the question is if I want the bottom...
asked by 01.01.2019 / 00:09
1
answer

SOAP WSDL call using Java service throws 500 500 Http error

I am calling a method of a WSDL SOAP service (with or without parameters) using Java with Spring. I call my Spring service with PostMan and this is responsible for calling SOAP WSDL. _the_project _ I used the plugin "jaxws-maven-plugin" in...
asked by 03.01.2019 / 14:53
0
answers

Communicate Python with Java

Greetings I have a class in Java which was not developed by me, I use this class to sign an xml document (xades-bes with p12) this class works well, now the problem is for the time to consume from Python to Java takes a lot, in JAVA native this...
asked by 04.01.2019 / 16:46
1
answer

Correct use of static variables within a class

I have a question about the use of the keyword reserved static when it is declared inside an object class. I have not been able to find an answer that clarifies me, I hope you can help me. I tell you an example of the scenario that has happened...
asked by 02.01.2019 / 10:47
2
answers

Deserialize JSON from MongoDB on Android

I am relatively new in the mobile development I was working with Mongo consuming an API that local but now I want to know how to deserialize the JSON data that I consume from the API. Here is how I am working (Localhost), I have managed to...
asked by 02.01.2019 / 03:06
1
answer

Is it normal that at the time of execution Android does not consult db?

I do not know how to handle my problem, I have my application, it's quite big and it has a lot of code, it does everything perfectly but I have a problem in execution time, I have checkbox s which when they are marked they make a modifica...
asked by 02.01.2019 / 10:48
1
answer

error 404 when trying to access a route created in spring

web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns...
asked by 03.01.2019 / 17:26