facebook

JSP with MyFaces = blank pages

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #249901 Reply

    rmemoria
    Member

    I’m using
    * Eclipse 3.1.1
    * MyEclipse 4.1.1 GA
    * Tomcat 5.5
    * Windows XP

    I’ve created a very simple WEB project from the Wizards in Eclipse/MyEclipse.
    I’ve put a JSP page and it worked fine.

    But if I add JSF capabilities using MyFaces, the pages simple doesn’t show up anymore. All HTML that is received by the browser is

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD>
    <BODY></BODY></HTML>

    This problem doesn’t occur if I repeat the same procedures above, and choose JSF instead of MyFaces.

    Any tip?

    Ricardo Memoria

    #249928

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

    I would check your console window for run-time exceptions, that is most likely what is happening. Also check your app server log.

    Also make sure you are accessing your pages using the mapping you defined in your web.xml file to map to the FacesServlet (for example .faces, so you need to use login.faces and not login.jsp)

    #249964

    rmemoria
    Member

    Thanks for the tip,

    But the problem was the jsp-2.0.jar in the WEB-INF/lib.

    When I removed it from the project everything worked fine again.

    Regards,
    Ricardo Memoria

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JSP with MyFaces = blank pages

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