Ismael Gimenez

Greenhorn
+ Follow
since Oct 21, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ismael Gimenez

I have this code..



And when i call the logging functions like this..




The JBoss Server logs the messages on the console but the log.log file is empty.

I want to log the messages in that file. Any ideas?
13 years ago
Vijitha, thanks for the response.

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.

Anyway, thanks for your time!

Cheers!
Hi, im having trouble with the code listed below.



When i the system execute the code it returns null insted of throwing an exception.

I donno why.
There are 3 great JSF2 books.

1. Core Java Server Faces 3rd Edition
2. Java Server Faces 2. The complete Reference.
3. JSF 2 Cookbook.

I recommend the first one since is the easiest to understand.

Cheers!
13 years ago
JSF

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.

Can anybody explain me why???



Thanks in advance!!
13 years ago
JSF
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.
16 years ago
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..

Thanks in advance folks...
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?
16 years ago
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?
16 years ago