A few days ago i realized that I was somehow wrong, since the query did find results. That is to say, it finds a result in the DB with the name pass as parameter and the query returns a property of that result that it turns out to be null.
Therefore, it finds a result that is null, that is different to not finding a result at all.
Banging my head after few hours, i figured out that I was calling limpiarFormulario() before it get initiated/born. So I was getting a null pointer in utilEJB class. The idea seems to be that I need to use the @PostConstruct init method to call the limpiarFormulario() since the EJB are already injected. The problem is that the @PostConstruct is never called.
Someone correct me if I am wrong but I think java treats an array as an object. That is to say, an array is a subclass of an Object and therefore inherits all the methods that the class object provides.
What does the reset perspective do exacly? I am asking this because yesterday I download something from a SVN and run it and get a NoClassDefFoundException on a code no longer exists, and I reset the perspective and run it again and the error was gone.. an it worked all right.
I am confuse as why this is. Maybe is a common thing and someone can explain me why..
I made a simple web using j2ee that runs on tomcat 6.0. I got some hosting in the web but it did not use tomcat.. what can I do? are there any hosts that provide tomcat or should i install it on that web hosting service?
I made a simple web using j2ee that runs on tomcat 6.0. I got some hosting in the web but it did not use tomcat.. what can I do? are there any hosts that provide tomcat or should i install it on that web hosting service?