Bauke Scholtz wrote:I don't recommend this approach.
If he is indeed trying to get the FacesContext inside a Filter, then there's a flaw in his design and he need to elaborate why he needs the FacesContext. If it is just for accessing managed beans or some other scoped attributes or some other stuff made available by request, session and application, he could perfectly use the (Http)ServletRequest for this which is already available inside a Filter.
By the way, why are you spamming an irrelevant link to your blog in every post? If you like to share it with others and want to increase your traffic, just place it in your signature.
Remko Strating wrote:I had a problem where sometimes the FacesContext.getCurrentInstance() returns null.
In a thread I've read that adding the listener com.sun.faces.config.configureListener could solve this issue.
I tried to found the exact function of this listener but could not find a good answer.
Maybe someone could give me some information or a hint where to find.
Thanks in advance.
rajendhar gangoni wrote:hi,
while iam calling the webservice method from a standalone java application. i am getting error on the console saying
any help can be appreciated
Thanks & Regards,
RAjendra
Abiodun Adisa wrote:Yes its doing an authentication check
vinoth thirunavukarasu wrote:Hi,
I want to schedule a program for the specified time only. How can I do that so.