Hii Matthias, Thank you very much. Atleast it crosses my first hurdle. Now i will work upon using the myfaces along with struts.
Moreover, How come the struts-faces didn't use the HttpServletRequestWrapper??? i will shoot other questions, as it comes. Regards fargo --- Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi fargo, > > I just looked at subversion and saw > that the RequestWrapper is not in use. > > http://svn.apache.org/viewcvs.cgi/struts/faces/trunk/core-library/src/ja > va/org/apache/struts/faces/application/FacesRequestProcessor.java?rev=65 > 520&view=auto > > > please try to build struts-faces on your own > and use inside of ***RequestProcessor the > Wrapper. > > Could you tell us the results on that? > > Keep in mind, that I didn't patch > the JspViewHandlerImpl. I *patched* > Struts-Faces. > > I don't know if it is a bug of MyFaces. > But that *patched* Struts-Faces worked > with MyFaces. > > Regards, > Matthias > > > -----Original Message----- > > From: No Galz [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 30, 2004 3:23 PM > > To: MyFaces Discussion; Sean Schofield > > Subject: Re: MyFaces+Struts+StrutsFaces -- again > giving it a try!! > > > > > > Hii Sean, > > > > Thanks for your feedback. But just to let u know, > the > > error is occuring at > > > org.apache.myfaces.application.jsp.JspViewHandlerImpl > > > > which is not able to find the mapping for > > > > could not find pathMapping for servletPath = > > /loginCheck.do requestPathInfo = null > > > > As mentioned in the mailing list at > > > http://www.mail-archive.com/[email protected]/msg01926.html > > > > JspViewHandlerImpl seems to work only for *.faces > > mappings and not for *.do mappings. As mentioned > in > > the mailing list, Matthias has already fix this > and > > should be available with the latest myfaces. > > > > I agree that the Servlet Filter could be the > reason, > > but afterall why?? When it works fine with Struts > > based apps and just by using the integration > library > > and initialising the FacesServlet..should not > effect > > the situation. > > > > Thanks, > > fargo > > > > > > > > > > --- Sean Schofield <[EMAIL PROTECTED]> > wrote: > > > > > 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.StartupServletContex > > tListener</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 > === message truncated === __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo

