File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Getting this error while invoking my jsf page-Found no URL patterns mapping to FacesS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Getting this error while invoking my jsf page-Found no URL patterns mapping to FacesS" Watch "Getting this error while invoking my jsf page-Found no URL patterns mapping to FacesS" New topic
Author

Getting this error while invoking my jsf page-Found no URL patterns mapping to FacesS

indra sen
Greenhorn

Joined: Jun 08, 2007
Posts: 27
DEBUG ! execute(com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! Entering RestoreViewPhase
DEBUG ! servletPath /faces
DEBUG ! pathInfo /applications/MyJSF.jsp
DEBUG ! URL pattern of the FacesServlet executing the current request /faces
DEBUG ! Begin restoring view from response /applications/MyJSF.jsp
DEBUG ! Possibly a new request. Tree structure could not be restored for /applications/Claims.jsp
DEBUG ! End restoring view from response /applications/MyJSF.jsp
DEBUG ! New request: creating a view for /applications/MyJSF.jsp
DEBUG ! Created new view for /applications/MyJSF.jsp
DEBUG ! get defaultLocale en_US
DEBUG ! Locale for this view as determined by calculateLocale en_US
DEBUG ! RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
DEBUG ! Exiting RestoreViewPhase
DEBUG ! Skipping rest of execute() because of a reload
DEBUG ! render(com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! Entering RenderResponsePhase
DEBUG ! About to render view /applications/MyJSF.jsp
DEBUG ! About to render view /applications/MyJSF.jsp
DEBUG ! URL pattern of the FacesServlet executing the current request /faces
DEBUG ! Found no URL patterns mapping to FacesServlet


I am getting this error
Found no URL patterns mapping to FacesServlet
Can any body help me ,
Thanks in advance....
Denise Smith
Ranch Hand

Joined: Jul 26, 2005
Posts: 36
Does your web.xml file have a url mapping for the faces servlet?

Sample:

<servlet id="Servlet_100">
<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>/faces/*</url-pattern>
[ December 12, 2007: Message edited by: Denise Smith ]

Surround yourself with learners...They will educate you!
 
 
subject: Getting this error while invoking my jsf page-Found no URL patterns mapping to FacesS
 
Similar Threads
Switching from Reference Implementation to MyFaces
Faces Servlet
Error while generating JSF view from non JSF request
How to display Welcome JSP Page for a Web Application
ViewExpiredException - Session not expired yet