Questions tagged as 'java'

1
answer

Parceable and unParceable in Androidstudio and .Net

Good morning Someone could help me how to make a Parceable to an entity in Android and .Net; and also make an UnParceable to an entity in android and .Net "I need both because in .Net I have the webservice." Thanks Happy day     
asked by 23.08.2016 / 21:56
2
answers

connection to database

I have a question What are the different ways to connect a Java application to the database? I've seen that you can by means of connection pool and hibernate but what are the other forms and which is the best to be able to use it?     
asked by 12.10.2016 / 00:15
2
answers

Problem session, Prime Faces view could not be restored

I have a JSF application but after a while I close the session but it gives me the following error and does not redirect to the login. public String cerrarSession() { SessionUtils.getSession().invalidate(); return "/login"; } Sessi...
asked by 19.08.2016 / 21:24
1
answer

JDialogs are repeated

I am developing an application in which I call several JInternalFrame from a menu. These JInternalFrames open a JDialog in turn. The problem arises when I open for second, third and so on said frames, because when calling the dialogs, they open...
asked by 06.09.2016 / 15:41
1
answer

Error 500 for NullPointerException when executing 'client.jsp'

This is the jsp file that is giving the error. client.jsp <%@page import="pe.edu.sise.ejbbeans.ClienteFacadeLocal"%> <%@page import="pe.edu.sise.entities.Cliente"%> <%@page import="java.util.List"%> <%@page import="pe...
asked by 07.09.2016 / 09:39
1
answer

org.hibernate.console.HibernateConsoleRuntimeException: NoClassDefFoundError

I'm trying to test an application with hibernate, but I'm having a lot of problems when it comes to configuring it. At the moment I have managed to generate the file hibernate.cfg.xml, hibernate.reveng.xml and the object of Hibernate Console Con...
asked by 15.08.2016 / 09:19
2
answers

How to Convert ArrayListString to Java Android Cursor

how can I do to pass an ArrayList to a cursor with its fields     
asked by 12.08.2016 / 18:28
1
answer

go through a list in jsp

I have a result saved in a list, the list is passed to a jsp by means of a servlet, with that list filled with a select and depending on that select (name = nomFuent) an input must be completed (name="nitfuente "), how can I do it. servlet...
asked by 16.08.2016 / 07:19
1
answer

Error compiling the android studio project (BUTTON INVERSE)

I need help to solve a problem of theme 23, mark me in the inverse button and try to erase it but it reappears when I try to rebuild or compile it     
asked by 12.08.2016 / 23:01
3
answers

Error instantiating object in java

When creating an instance of an object with the code Persona3 respuesta = new Persona3("","","",25,80,150f) Get an error saying: String cannot converted to int and the whole line appears in red.     
asked by 11.08.2016 / 02:11