I just wanted to say thanks to Udo, Volker and Matthias.
I've now got my NonFacesRedirectServlet working in my main project. I owe you guys a beer or two! Thanks Jeff. -----Original Message----- From: Udo Schnurpfeil [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 13:35 To: MyFaces Discussion Subject: Re: myFaces - servlet redirect. for Jeffs app, please try the *.jsf variant I've described in the example here: http://svn.apache.org/repos/asf/incubator/tobago/trunk/tobago-example/tobago-example-nonfacesrequest/src/main/webapp/WEB-INF/web.xml <servlet-mapping> <servlet-name>FacesServlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>FishServlet</servlet-name> <url-pattern>/FishServlet.jsf</url-pattern> </servlet-mapping> Volker Weber wrote: > Hi, > > Udo, this did not work with Jeffs application. > > I had tested this yesterday an now again. If i use the mapping > "/faces/NonFacesRequestServlet" > i got > "/servredirect/faces/NonFacesRequestServlet/jsp/theBackingBean.jsp" > for the action attribute of the form element. > > Regards, > Volker > > Udo Schnurpfeil wrote: > >> I think, the mapping for the NonFacesRequestServlet can also called >> /faces/NonFacesRequestServlet (it might be a little nicer) >> >> to the difference of myfaces and the sun-ri: >> I've setup an example here >> http://svn.apache.org/repos/asf/incubator/tobago/trunk/tobago-example/tobago-example-nonfacesrequest/ >> >> >> web.xml snip: >> <!--for sun ri (tested with version 1.1.01)--> >> <url-pattern>/FishServlet</url-pattern> >> <!--for myfaces (tested with version 1.1.1)--> >> <url-pattern>/faces/FishServlet</url-pattern> >> >> >> Matthias Wessendorf schrieb: >> >> >>> On 1/17/06, Volker Weber <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>> No ! >>>> >>>> "/faces/*" is the mapping for FacesServlet >>>> >>>> "/faces" is the mapping for NonFacesRequestServlet >>>> >>>> I don't like it, but this works with Jeff's example app. >>>> >>>> >>> ah! that is a hack :-) >>> >>> Udo's email sounds *interesting*. >>> I'll look at it! >>> >>> Regards, >>> Matthias >>> >>> >>> >>> >>> >>>> Regards >>>> Volker >>>> >>>> Matthias Wessendorf wrote: >>>> >>>> >>>> >>>>>> <url-pattern>/faces</url-pattern> >>>>>> >>>>>> >>>>> /faces/* >>>>> >>>>> just like discussed here: >>>>> http://www.mail-archive.com/[email protected]/msg13865.html >>>>> >>>>> (sent you the link already ;)) >>>>> >>>>> -Matthias >>>>> >>>>> >>>>> >>>> -- >>>> Don't answer to From: address! >>>> Mail to this account are droped if not recieved via mailinglist. >>>> To contact me direct create the mail address by >>>> concatenating my forename to my senders domain. >>>> >>>> >>>> >>> >>> -- >>> Matthias Wessendorf >>> Zülpicher Wall 12, 239 >>> 50674 Köln >>> http://www.wessendorf.net >>> mwessendorf-at-gmail-dot-com >>> >>> >>> >>> > >

