This discussion is archived
1 Reply Latest reply: Dec 23, 2008 5:20 AM by Olaf Heimburger RSS

Logging Error Message in Console  [Servlet Error]-[Cannot find FacesContex]

676922 Newbie
Currently Being Moderated
I am using Web Application with JSF . but when i log in into the web appl everthing is fine but in back end i mean the console of RAD Tool having some logging Error message:

SRVE0026E: [Servlet Error]-[Cannot find FacesContext]: javax.servlet.jsp.JspException: Cannot find FacesContext
at javax.faces.webapp.UIComponentTag.doStartTag( Code))
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag( Code))
at org.apache.jsp._index._jspService(
at Code))
at javax.servlet.http.HttpServlet.service( Code))
at$JspServletWrapper.service( Code))
at Code))
at Code))

So could you please help me find out the solution for this :

While i am using the code in jsp page:

<%@taglib uri="" prefix="h"%>
<%@taglib uri="" prefix="hx"%>
<%@taglib uri="" prefix="f"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">

<TITLE>Web App
          <h:outputText value="#{}"/>

Suggest me the solution:

  • 1. Re: Logging Error Message in Console  [Servlet Error]-[Cannot find FacesContex]
    Olaf Heimburger Pro
    Currently Being Moderated
    This usually means that you call the JSF page the wrong way. Try something like http://hostname:port/servletcontextroot/faces/page.jspx



  • Correct Answers - 10 points
  • Helpful Answers - 5 points