check out this FacesContext error
Hai all,
I am modifying an existing project which has jsp pages and simple javaBean class. Now according to the project requirement i added a new JSF file to the project and change the existing javaBean to managed bean (loginBean).
publicclass loginBeanimplements HttpSessionBindingListener, Serializable
{
...........
...........
private String name=null;
//setter and and getter for the field.
publicvoid nameComboChanged(valueChangeEvent event)
{
FacesContext facesContet = FacesContext.getCurrentInstance();
name=(String) event.getNewValue();
facesContext.renderResponse();
}
}
i added the following code tofaces-config.xml to make the bean managedBean
<managed-bean>
<managed-bean-name>loginBean</managed-bean-class>
<managed-bean-class>com.jsf.loginBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>name</property-name>
<property-calss>java.lang.String</property-calss>
<value></value>
</managed-property>
</managed-bean>
apart form these field some more fields are there which i have not added.
finally in theJSF page, i wanted to get the name value for some manipulation and stored in a varible in the scriptlet. the code is like follows
<%
FacesContext facesContext =FacesContext.getCurrentInstance();
loginBean loginbean=(loginBean) ....;
string n1=loginbean.getName();
%>
when i am deploying the appliction to tomcat, while deploying it is displaying as
SERVER: Error configuration application listener of class com.sun.faces.config.ConfigureListener
java.lang.classNotFoundException: com.sun.faces.config.ConfigureListener
try to help me it's urgent!!

