have you configured into faces-config.xml file.
step1:
<manage-bean>
<manage-bean-name>testBean</manage-bean-name>
<manage-bean-class>pack.test.testBean</manage-bean-class>
<manage-bean-scope>session</manage-bean-scope>
</manage-bean>
step2:
how to call bean in jsf by using Experssion Longuage (EL), means #{}
<h:outputBox value="#{testBean.name}"/>
it will display name...