wood burning stoves 2.0*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How the get the instance of PageContext/JSPContext from the FacesContext?
 
Similar Threads
Access HttpServletRequest from within SimpleTagSupport
JspContext and PageContext - Doubt on HFSJ
How to get PageContext
Can't cast JspContext to PageContext ???
Simple Tag - Get Request Object