File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
 
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
Can't cast JspContext to PageContext ???
Access HttpServletRequest from within SimpleTagSupport
Simple Tag - Get Request Object
How to get PageContext
JspContext and PageContext - Doubt on HFSJ