0 Replies Latest reply on Sep 9, 2008 1:39 PM by Garima Shrivastava

    Problem running the index.jsp page

    Garima Shrivastava Newbie

      I am very new to Ajax and JSF so please pardon my mistakes.

      I have created a dynamic web project in Eclipse. I have the richfaces-api.jar, richfaces-impl.jar, richfaces-ui.jar in the webapps\lib folder. All the JSF jars are also there.

      I made following change in my web.xml -

      <context-param>
      <param-name>org.richfaces.SKIN</param-name>
      <param-value>blueSky</param-value>
      </context-param>

      <display-name>RichFaces Filter</display-name>
      <filter-name>richfaces</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>

      <filter-mapping> <filter-name>richfaces</filter-name>
      <servlet-name>Faces Servlet
      REQUEST FORWARD INCLUDE
      </filter-mapping>

      When I try to run my project which only have one jsp file (this jsp still does not contain any AJAX code yet), it gives an http 400 error "The requested source /MyFirstAjax not found".

      When I remove these 3 rich faces jar files then project runs fine and index.jsp contents are displayed.

      What am I doing wrong in using these 3 jars?

      Any help is appreciated.