Access the bean through a faces context in the servlet:
http://wiki.apache.org/myfaces/AccessFacesContextFromServlet Then you can use FacesContext.getApplication().createValueBinding(String).getValue(FacesContext); Where the "#{beanName}" is string parameter. On 7/19/07, CD <[EMAIL PROTECTED]> wrote:
As I would assume. The issue I am seeing in this particular instance is this (I'll try to shorten the description as details really aren't necessary for now): View/Code description: We have a page with links that are generated from the rows in a bound datatable (initially populated in the constructor of the bean). The links point to a servlet which, in turn, acquires the instance of the bean from the session by name. Issue: When clicking on one of these links for the first time when the session is created, the servlet returns nothing (servlet used to stream a pdf from a backend source FYI). This behavior repeats ad infinitum until a submit() is performed on the form. Once this submit is performed, clicking on the links yields a result as expected (PDF shown). Any thoughts? On 7/19/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: > When it is created by the variable resolver (first time it is accessed) > > On 7/19/07, CD < [EMAIL PROTECTED]> wrote: > > At what point in the lifecycle is a bean declared as "session" scoped get > > stored in the session? >

