facebook

[Closed] Cannot find FacesContext

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #259355 Reply

    mimi_grebici
    Member

    Hi

    I use eclipse with myEclipse.
    and I have the following exception when I want to access to the .jsp pages

    javax.servlet.ServletException: Cannot find FacesContext
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
    org.apache.jsp.MyJsp_jsp._jspService(MyJsp_jsp.java:79)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    but when I use .faces instead of .jsp , there is no exception !!

    I want to know why please

    thank you

    #259382 Reply

    Riyad Kalla
    Member

    I replied to you in the other thread you posted this to, this is not a bug but how web frameworks work that are based on the Servlet APIs.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] Cannot find FacesContext

You must be logged in to post in the forum log in