my web.xml: ------------------------ ...
But when the page is invoked througth the navigator, the server response is : javax.servlet.jsp.JspException: Cannot find FacesContext at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405) at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105) at org.apache.jsp.index_jsp._jspx_meth_f_view_0(index_jsp.java:97) at org.apache.jsp.index_jsp._jspService(index_jsp.java:71) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:860) at You can not post a blank message. But you say that the error is shown right after the war is deployed. Well I still don't really get the idea of JSF anyhow - I'm used to HTML and would like to continue using that syntax - as I have a 100% control http://stackoverflow.com/questions/16354200/java-lang-runtimeexception-cannot-find-facescontext
So if that is the case be sure to include all the necessary information when describing your problem from now on. Like Show 0 Likes(0) Actions 3. Re: Deploy on tomcat : Cannot find FacesContext 843844 Jun 26, 2007 4:12 PM (in response to 800424) Hi, I face a different problem.
Browse other questions tagged jsf or ask your own question. A very simple way to test if JSF is working in your project is to make this simple page: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>