Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
suresh dasari
Ranch Hand
Posts: 121
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic