Friday, March 13, 2009 06:50 PM
Just getting into using JSF.
How would I access a DB before any pages are rendered in the UI?
My first page needs to display information from a DB table(s). I have tried to define a Listener class containing a contextinitialized method in the web.xml file but this does not seem to work.
I have seen a solution that defines a managed bean that populates a list and an associated reference in an
There has to be a more elegant way to do this.
Thanks for any help.