With retrofit I use a JsonArray, I want to get elements from the Json Objects list
this is my Json
{
"Codigo": 0,
"FechaHora": "2017-07-11T11:23:11",
"Mensaje": "Ok",
"Data": [
[
{
"Id": 1,
"Nombre": "Hum...
I have a problem, which is that the following code throws me a NullPointerException in:
pstm = connection.prepareStatement("SELECT * FROM usuarios");
I enclose the complete code:
package com.gmail.brunodiazmartin5.banco.mysql;
imp...
Can someone help me with this problem? create this simple example to test what I learned recently in java programming, but for some reason when I try to execute the problem I get an error even if I have no part pointed, can someone help me?
pu...
Very good.
I have created an application that receives a date and writes an excel file with necessary information to fill data in a dynamic table in excel. The class so far creates the file without any problem, but, I would like to know if I...
I'm new to this and I'm setting up my website on a VPS server.
I have already installed it in easypache and tomcat 7, I can already see my homepage, but if I try to load some jsp page that has a java code it gives me this error.
javax.s...
Good morning
I need to create a repository "B" from a repository "A" which should no longer be modified. I have some doubts about how to proceed since I am having an ambiguity error on my first attempt.
I have my repository A:
@Repositor...
I am doing a small program using Maven together with JPA as well as Hibernate, when trying to make a test of the classes that I have for handling objects, I miss the following error and it does not allow me to do any operation:
Failed to e...
I have this code, I'm pulling from a string of type String and drawing dynamically, in view I want it to be shown with a dollar sign but I can not make it happen.
Is it because I'm using a string ?
<h:outputText value="#{o.c...
Yes, look at it I have it in the following way:
public void borrarPersona(String dni) {
Connection c = null;
PreparedStatement preparedStatement = null;
//Usando consultas preparadas, más seguras y más rápidas...
In my project in each controller that I programmed I have to place the @Autowired of each service class in order to get the methods, but I think that this way of doing it is not the correct one so create a class called autowiredall which concent...