Questions tagged as 'java'

1
answer

Fill a Class with an ArrayList of Objects of another kind

Basically I am designing a program for a restaurant (without stock), it is to render the programming subject. I request help :( I have an Input class, another Plato class, and another Mesa class. Objects of type Inputs are instantiated wit...
asked by 04.08.2016 / 20:09
1
answer

Netbeans Web Service Client can not be created by JAXWS: wsimport utility [closed]

I am trying to consume a web service from netbeans 8.1 and I get the following error: I've tested from SoapUI and it seems to be fine: I do not know what the problem may be, if someone knows what may be happening Thank you....
asked by 24.06.2016 / 02:09
1
answer

Routing to web-inf in web app

I'm doing a web app with jsp in NetBeans, I need to validate the session so that the system does not allow to enter other pages by putting the route in the navigation bar as such without having logged in, someone told me that the folder web-inf...
asked by 30.05.2016 / 15:01
2
answers

TextView inside FirebaseListAdapter

When declaring a FirebaseListAdapter you can use a view to show the data within the ListView to which the adapter is set. But when placing a TextView for example here. Firebase cursosRef = rootRef.child("NRC"); FirebaseListAdapter&l...
asked by 26.05.2016 / 00:18
2
answers

Is it possible to create a PopUp in java?

I've searched the net, but it only talks about Java Swing. I made a web application with asp and servlet. The issue is that if a query to the DB is empty (no result), I returned a PopUp that says: no result was found, but I can not find how to d...
asked by 01.06.2016 / 13:41
1
answer

What does this error mean "Error: Invalid or corrupt jarfile" has a solution? [closed]

Create a program in java and then I wanted to see if it worked so try to open it and I get this error, if you have a solution tell me please and if you can explain what that means and why it happens. public class CalcularAreaDeUnCiculo { p...
asked by 02.06.2016 / 20:47
0
answers

Calling EJB Remote brings result with 'null' values

I'm doing a JEE application and I have this interface which is called from a REST project (PruebaREST) package co.com.prueba.funcionalities.local; import co.com.prueba.entities.Categoria; import java.util.List; import javax.ejb.Remote; @Remo...
asked by 22.11.2017 / 21:06
1
answer

Error deleting record in SqlLite

I am new to programming and I have many doubts. The first thing is that I'm doing a registry of people, I have the DB in sqlite, I have already managed to save, search and delete the information, this I show in a listview , but when...
asked by 22.11.2017 / 08:03
1
answer

error when doing sendRedirect in doFilter method of a Filter class

Good morning to everyone, I have a filter in my web.xml to control the calls that are made to the server of my application once we have logged in this one. The filter class that implements the doFilter, destroy and init methods also has a cle...
asked by 22.11.2017 / 11:55
0
answers

BadPaddingException and IllegalBlockSizeException errors when encrypting files with AES

The following code throws me the error when I select a somewhat heavy file as a Word :    BadPaddingException And this error when I select a simple file txt :    IllegalBlockSizeException These errors only appear when...
asked by 25.05.2016 / 04:41