0 Replies Latest reply on Jun 24, 2011 2:18 AM by jayesh_rhds

    404 error loading jsf page

    jayesh_rhds

      I am newly using JBoss Development Studio 4 GA to develop JSF web project. I am following this tutorialfor reference. I have followed all the steps correctly but still i am getting this error:

      HTTP Status 404 - /jsfHello/index.jsf

      type
      Status report

      message
      /jsfHello/index.jsf

      description
      The requested resource (/jsfHello/index.jsf) is not available.

      The web.xml mapping is as below:

      http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
       
      <display-name>jsfHello</display-name>
       
      <context-param>
         
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
         
      <param-value>server</param-value>
       
      </context-param>
       
      <listener>
         
      <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
       
      </listener>
       
      <servlet>
         
      <servlet-name>Faces Servlet</servlet-name>
         
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         
      <load-on-startup>1</load-on-startup>
       
      </servlet>
       
      <servlet-mapping>
         
      <servlet-name>Faces Servlet</servlet-name>
         
      <url-pattern>*.jsf</url-pattern>
       
      </servlet-mapping>
      </web-app>

      Kindly help me in analyzing this and correcting the error!!!