[jboss-user] [Beginner's Corner] - 404 error loading jsf page

Jayesh Mahato do-not-reply at jboss.com
Fri Jun 24 02:18:54 EDT 2011


Jayesh Mahato [http://community.jboss.org/people/jayesh_rhds] created the discussion

"404 error loading jsf page"

To view the discussion, visit: http://community.jboss.org/message/611768#611768

--------------------------------------------------------------
I am newly using JBoss Development Studio 4 GA to develop JSF web project. I am following  http://docs.jboss.org/tools/2.0.0.GA/legacy-jsf-struts/en/html/jsf_application.html 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!!!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/611768#611768]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110624/f2219f3d/attachment-0001.html 


More information about the jboss-user mailing list