Hi all,
I have down the example of the jsf, and deploy successful in my server.
Now I want the data display in the JSF is from database, so I try two ways:
1.directly use another hibernate configure file connect to the database.This methos failed.
2.I want to use the exciting session of portal to get the data. so what I am doing is like:
UserModule module = (UserModule)new InitialContext().lookup ("java:portal/UserModule");
User user = module.findUserByUserName("user");
but is also failed.
Maybe the second method can get successful. But I do not know how to do it. Is anyone can help me, Thank very much!
Wendy-
Can you provide more details regarding your failure such as the stack trace.
Thanks
Sohil