aspose file tools*
The moose likes JSF and the fly likes How the get the instance of PageContext/JSPContext from the FacesContext? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How the get the instance of PageContext/JSPContext from the FacesContext?" Watch "How the get the instance of PageContext/JSPContext from the FacesContext?" New topic
Author

How the get the instance of PageContext/JSPContext from the FacesContext?

suresh dasari
Ranch Hand

Joined: Oct 05, 2009
Posts: 121

Hi Ranchers,

I am trying to get the instance of either PageContext or JSPContext from FacesContext to evaluate the ELExpression. is there any way to get the former instance variable from FacesContext?
I have an EL expression like #{resouce.lastName} (resouce is not a backingbean instance, it is resourceBundle name), so I want to get the associated value of lastName which is in property file.

Thaks in advance.


Sun Certified Java Programmer with 93 percent
 
Don't get me started about those stupid light bulbs.
 
subject: How the get the instance of PageContext/JSPContext from the FacesContext?