hi friends, am new to jsf,i got an exception while running my application.am using netbeans ide to run my application,below is the exception detail:
type Exception report
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot find FacesContext
java.lang.RuntimeException: Cannot find FacesContext
please help me..
the extension of jsf page should not be .jsp
it should be same extension what u mentioned inside web.xml
in the above code i mentioned .faces so i have to give "index.faces" but not "index.jsp"
sorry ya..i m again posting code..just chk it out
print(" <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>0</load-on-startup>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.