Our application generates and email pdf files to users. The pdf has links into the middle of the jsf application first through a servlet. In the servlet the parameters from the query string are used to initiate or update the backing beans with the requested id information. In the servlet I am using the following code. With the faces servlet configuration in the web.xml file.
The context turns out to be null. In a servlet, how else can I get a reference to the existing FacesContext instance.