This doesn't sound like it has anything to do with MyFaces (although I
am not an expert, I just follow this mailing list.)

It seems like your ActionServlet failed to setup properly (the
inability to find a mapping for loginCheck.do seems to point to this.)
 I noticed you said you have a ServletFilter that is also configured
to *.do.  What is the URL you are trying to bring up and what do you
expect to happen when you enter that URL?

I am assuming your filter is doing some kind of authentication check. 
What happens next?  If you are forwarding to another location with a
*.do pattern, there might be a problem with looping.

Try commenting out your filter to verify that there is something wrong.

HTH,
sean


On Tue, 30 Nov 2004 05:39:58 -0800 (PST), No Galz <[EMAIL PROTECTED]> wrote:
> Hii All,
> 
> I have setup the MyFaces+Struts+StrutsFaces in the
> following way
> 
> --> myfaces jars, struts-faces.jar, jstl.jar,
> standard.jar added to lib
> 
> --> add facesrequest processor to the
> struts-config.xml (without tiles impl.)
> 
>   <controller nocache="true" >
>          <set-property property="inputForward" value="true"
> />
>          <set-property property="processorClass"
> value="org.apache.struts.faces.application.FacesRequestProcessor"
> />
>  </controller>
> 
> --> add MyFaces' ContextListener to web.xml with reqd.
> context
> --> parameters
> 
>        <context-param>
> 
> <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
> 
>                <param-value>client</param-value>
>        </context-param>
> 
> <!-- Myfaces implementation listener initialisation
> -->
> <listener>
> 
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> 
> </listener>
> 
> --> added JSF Servlet configuration and change the
> load-on-startup attribute to load JSF at the start
> -->then struts and -->then the application servlet
> 
>  <!--  JavaServer Faces Servlet Configuration -->
>  <servlet>
>  <servlet-name>faces</servlet-name>
> 
> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
> 
>  <load-on-startup>1</load-on-startup>
>  </servlet>
> 
> --> adding the servlet mapping too
> 
> <!--  JavaServer Faces Servlet Mapping -->
> <servlet-mapping>
>  <servlet-name>faces</servlet-name>
>  <url-pattern>*.faces</url-pattern>
> </servlet-mapping>
> 
> I have a SevletFilter which is configured with a
> pattern of *.do (same as my Struts Action Servlet
> mappings)
> ServletFilter is used as a mode of authentication, for
> each page request.
> 
> I expect my Struts based application to work as it is,
> b'coz i m not using any struts-faces tags or faces tag
> at the moment.
> 
> But with the first click...i got the following error
> from myfaces
> 
> could not find pathMapping for servletPath =
> /loginCheck.do requestPathInfo = null
> 
> at
> org.apache.myfaces.application.jsp.JspViewHandlerImpl
> 
> Moreover, i m used the latest of everything..myfaces,
> struts-faces.
> 
> I m trying it hard, b'coz i want to leverage the
> benefits of JSF with my existing (quite BIG) struts
> based application.
> 
> Any feedback will be a big help for me.
> 
> Thanks,
> fargo
> 
> 
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page â Try My Yahoo!
> http://my.yahoo.com
>

Reply via email to