RE: myFaces - servlet redirect.
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-nameFacesServlet/servlet-name url-pattern*.jsf/url-pattern /servlet-mapping servlet-mapping servlet-nameFishServlet/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/users@myfaces.apache.org/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
Re: myFaces - servlet redirect.
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/users@myfaces.apache.org/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 -- 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.
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-nameFacesServlet/servlet-name url-pattern*.jsf/url-pattern /servlet-mapping servlet-mapping servlet-nameFishServlet/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/users@myfaces.apache.org/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
Re: myFaces - servlet redirect.
Hi, i didn't implement this, i just have mentioned we have this in tobago :-). @Jeff: i don't understand yout last post on [EMAIL PROTECTED] you have a mapping of /view/ for the servlet ant the url http://localhost:8080/ebusiness/faces/view/task?id=1 i wonder why /view/task is mapped to the Servlet . try mapping /view and url http://localhost:8080/ebusiness/faces/view?id=1 If this not works, create a small example app we can work with. regards Volker Matthias Wessendorf wrote: Hi Volker, since you implemented the NonFacesRequestServlet, could you helpout? I have not used the mentioned Servlet, just looked at the source to talk about how to redirect to a faces page that part seems to work, but his commandbutton has some issues. Thanks, Matthias On 1/17/06, Jeff Porter [EMAIL PROTECTED] wrote: Hi Matthias, Sorry to email you directly, but I'm stuck and in need of help. We talked on the myFaces mailing list, the subject was How can I redirect from a servlet to a JSF page. I've still got the problem that after I redirect from the servlet to my JSF, the commandButtons on the page no longer work. (I get a 404 page displayed) If I do not add the following to web.xml, then the commandButton's requests are passed to my NonFacesRequestServlet. With the following added, the commandButton's requests are not passed to NonFacesRequestServlet, but they also do not invoke the action in the commandButton link. Web.xml code... servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping If you have any ideas, that would be great. I'm going nuts over this problem. Thanks for taking the time to read this. Jeff -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com -- 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.
RE: myFaces - servlet redirect.
Firstly I'd like to thank Matthias Volker for there help so far with this! Ok, I've stripped out all the excess code and got a sample of problem together. Download the ear (inc src) http://www.porter.eu.com/jeff/servletRedirect.ear URL to request once running... http://localhost:8080/servredirect/faces/NonFacesRequestServlet?id=1 The two class files are located in... servredirect-support.jar - \org\iarc\ebusiness\model\ - BackingBean.class servredirect.war - \WEB-INF\lib - servredirect-support-action.jar - \org\iarc\ebusiness\reports - NonFacesRequestServlet.class The page should contain a textfield with ... Jeff Porter - request completed when the page is first requested. When the cancel button is clicked, the text should change to alfa. The src is contained in a separate zip file in the route of the ear. I'm hoping that someone else can also see my problem. Thanks Jeff p.s. I've read the wiki page and have followed it. Part of me is hoping that this all turns out to me some stupid mistake on my part. url: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls Note: jboss-4.0.3SP1 myfaces-1.1.1.zip -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 14:38 To: Matthias Wessendorf Cc: [EMAIL PROTECTED]; MyFaces Discussion Subject: Re: myFaces - servlet redirect. Hi, i didn't implement this, i just have mentioned we have this in tobago :-). @Jeff: i don't understand yout last post on [EMAIL PROTECTED] you have a mapping of /view/ for the servlet ant the url http://localhost:8080/ebusiness/faces/view/task?id=1 i wonder why /view/task is mapped to the Servlet . try mapping /view and url http://localhost:8080/ebusiness/faces/view?id=1 If this not works, create a small example app we can work with. regards Volker Matthias Wessendorf wrote: Hi Volker, since you implemented the NonFacesRequestServlet, could you helpout? I have not used the mentioned Servlet, just looked at the source to talk about how to redirect to a faces page that part seems to work, but his commandbutton has some issues. Thanks, Matthias On 1/17/06, Jeff Porter [EMAIL PROTECTED] wrote: Hi Matthias, Sorry to email you directly, but I'm stuck and in need of help. We talked on the myFaces mailing list, the subject was How can I redirect from a servlet to a JSF page. I've still got the problem that after I redirect from the servlet to my JSF, the commandButtons on the page no longer work. (I get a 404 page displayed) If I do not add the following to web.xml, then the commandButton's requests are passed to my NonFacesRequestServlet. With the following added, the commandButton's requests are not passed to NonFacesRequestServlet, but they also do not invoke the action in the commandButton link. Web.xml code... servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping If you have any ideas, that would be great. I'm going nuts over this problem. Thanks for taking the time to read this. Jeff -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com -- 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.
Re: myFaces - servlet redirect.
Hi Jeff, i just played a bit with your app. when i change the mapping for the NonFacesRequestServlet to /faces than it works! For a reason i currently don't know, (and also have no time to investigate) the form action is prefixed with the servlet name. So using the mapping /faces is a hack, but works. BTW: the download url just points to a frameset, i need to extract the correct download url from the html source. Regards Volker Jeffrey Porter wrote: Firstly I'd like to thank Matthias Volker for there help so far with this! Ok, I've stripped out all the excess code and got a sample of problem together. Download the ear (inc src) http://www.porter.eu.com/jeff/servletRedirect.ear URL to request once running... http://localhost:8080/servredirect/faces/NonFacesRequestServlet?id=1 The two class files are located in... servredirect-support.jar - \org\iarc\ebusiness\model\ - BackingBean.class servredirect.war - \WEB-INF\lib - servredirect-support-action.jar - \org\iarc\ebusiness\reports - NonFacesRequestServlet.class The page should contain a textfield with ... Jeff Porter - request completed when the page is first requested. When the cancel button is clicked, the text should change to alfa. The src is contained in a separate zip file in the route of the ear. I'm hoping that someone else can also see my problem. Thanks Jeff p.s. I've read the wiki page and have followed it. Part of me is hoping that this all turns out to me some stupid mistake on my part. url: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls Note: jboss-4.0.3SP1 myfaces-1.1.1.zip -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 14:38 To: Matthias Wessendorf Cc: [EMAIL PROTECTED]; MyFaces Discussion Subject: Re: myFaces - servlet redirect. Hi, i didn't implement this, i just have mentioned we have this in tobago :-). @Jeff: i don't understand yout last post on [EMAIL PROTECTED] you have a mapping of /view/ for the servlet ant the url http://localhost:8080/ebusiness/faces/view/task?id=1 i wonder why /view/task is mapped to the Servlet . try mapping /view and url http://localhost:8080/ebusiness/faces/view?id=1 If this not works, create a small example app we can work with. regards Volker Matthias Wessendorf wrote: Hi Volker, since you implemented the NonFacesRequestServlet, could you helpout? I have not used the mentioned Servlet, just looked at the source to talk about how to redirect to a faces page that part seems to work, but his commandbutton has some issues. Thanks, Matthias On 1/17/06, Jeff Porter [EMAIL PROTECTED] wrote: Hi Matthias, Sorry to email you directly, but I'm stuck and in need of help. We talked on the myFaces mailing list, the subject was How can I redirect from a servlet to a JSF page. I've still got the problem that after I redirect from the servlet to my JSF, the commandButtons on the page no longer work. (I get a 404 page displayed) If I do not add the following to web.xml, then the commandButton's requests are passed to my NonFacesRequestServlet. With the following added, the commandButton's requests are not passed to NonFacesRequestServlet, but they also do not invoke the action in the commandButton link. Web.xml code... servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping If you have any ideas, that would be great. I'm going nuts over this problem. Thanks for taking the time to read this. Jeff -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com -- 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.
RE: myFaces - servlet redirect.
THANKS! I defiantly owe you a beer or two! So when you say you changed the servlet mapping for NonFacesRequestServlet. Do you mean you changed... servlet-mapping servlet-nameNonFacesRequestServlet/servlet-name url-pattern/NonFacesRequestServlet/url-pattern /servlet-mapping to servlet-mapping servlet-nameNonFacesRequestServlet/servlet-name url-pattern/faces/url-pattern /servlet-mapping And then just used the URL... http://localhost:8080/servredirect/faces/NonFacesRequestServlet?id=1 Thanks Jeff -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 18:54 To: MyFaces Discussion Subject: Re: myFaces - servlet redirect. Hi Jeff, i just played a bit with your app. when i change the mapping for the NonFacesRequestServlet to /faces than it works! For a reason i currently don't know, (and also have no time to investigate) the form action is prefixed with the servlet name. So using the mapping /faces is a hack, but works. BTW: the download url just points to a frameset, i need to extract the correct download url from the html source. Regards Volker Jeffrey Porter wrote: Firstly I'd like to thank Matthias Volker for there help so far with this! Ok, I've stripped out all the excess code and got a sample of problem together. Download the ear (inc src) http://www.porter.eu.com/jeff/servletRedirect.ear URL to request once running... http://localhost:8080/servredirect/faces/NonFacesRequestServlet?id=1 The two class files are located in... servredirect-support.jar - \org\iarc\ebusiness\model\ - BackingBean.class servredirect.war - \WEB-INF\lib - servredirect-support-action.jar - \org\iarc\ebusiness\reports - NonFacesRequestServlet.class The page should contain a textfield with ... Jeff Porter - request completed when the page is first requested. When the cancel button is clicked, the text should change to alfa. The src is contained in a separate zip file in the route of the ear. I'm hoping that someone else can also see my problem. Thanks Jeff p.s. I've read the wiki page and have followed it. Part of me is hoping that this all turns out to me some stupid mistake on my part. url: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls Note: jboss-4.0.3SP1 myfaces-1.1.1.zip -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 14:38 To: Matthias Wessendorf Cc: [EMAIL PROTECTED]; MyFaces Discussion Subject: Re: myFaces - servlet redirect. Hi, i didn't implement this, i just have mentioned we have this in tobago :-). @Jeff: i don't understand yout last post on [EMAIL PROTECTED] you have a mapping of /view/ for the servlet ant the url http://localhost:8080/ebusiness/faces/view/task?id=1 i wonder why /view/task is mapped to the Servlet . try mapping /view and url http://localhost:8080/ebusiness/faces/view?id=1 If this not works, create a small example app we can work with. regards Volker Matthias Wessendorf wrote: Hi Volker, since you implemented the NonFacesRequestServlet, could you helpout? I have not used the mentioned Servlet, just looked at the source to talk about how to redirect to a faces page that part seems to work, but his commandbutton has some issues. Thanks, Matthias On 1/17/06, Jeff Porter [EMAIL PROTECTED] wrote: Hi Matthias, Sorry to email you directly, but I'm stuck and in need of help. We talked on the myFaces mailing list, the subject was How can I redirect from a servlet to a JSF page. I've still got the problem that after I redirect from the servlet to my JSF, the commandButtons on the page no longer work. (I get a 404 page displayed) If I do not add the following to web.xml, then the commandButton's requests are passed to my NonFacesRequestServlet. With the following added, the commandButton's requests are not passed to NonFacesRequestServlet, but they also do not invoke the action in the commandButton link. Web.xml code... servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping If you have any ideas, that would be great. I'm going nuts over this problem. Thanks for taking the time to read this. Jeff -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com -- 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.
Re: myFaces - servlet redirect.
url-pattern/faces/url-pattern /faces/* just like discussed here: http://www.mail-archive.com/users@myfaces.apache.org/msg13865.html (sent you the link already ;)) -Matthias
Re: myFaces - servlet redirect.
I've also tested it, and figured out, that it works also with the Sun Implementation WITHOUT Volkers change. So the Sun stuff works a little different. We should find the correct way (without hacking) and put an full example somewhere... Jeffrey Porter schrieb: THANKS! I defiantly owe you a beer or two! So when you say you changed the servlet mapping for NonFacesRequestServlet. Do you mean you changed... servlet-mapping servlet-nameNonFacesRequestServlet/servlet-name url-pattern/NonFacesRequestServlet/url-pattern /servlet-mapping to servlet-mapping servlet-nameNonFacesRequestServlet/servlet-name url-pattern/faces/url-pattern /servlet-mapping And then just used the URL... http://localhost:8080/servredirect/faces/NonFacesRequestServlet?id=1 Thanks Jeff -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 18:54 To: MyFaces Discussion Subject: Re: myFaces - servlet redirect. Hi Jeff, i just played a bit with your app. when i change the mapping for the NonFacesRequestServlet to /faces than it works! For a reason i currently don't know, (and also have no time to investigate) the form action is prefixed with the servlet name. So using the mapping /faces is a hack, but works. BTW: the download url just points to a frameset, i need to extract the correct download url from the html source. Regards Volker Jeffrey Porter wrote: Firstly I'd like to thank Matthias Volker for there help so far with this! Ok, I've stripped out all the excess code and got a sample of problem together. Download the ear (inc src) http://www.porter.eu.com/jeff/servletRedirect.ear URL to request once running... http://localhost:8080/servredirect/faces/NonFacesRequestServlet?id=1 The two class files are located in... servredirect-support.jar - \org\iarc\ebusiness\model\ - BackingBean.class servredirect.war - \WEB-INF\lib - servredirect-support-action.jar - \org\iarc\ebusiness\reports - NonFacesRequestServlet.class The page should contain a textfield with ... Jeff Porter - request completed when the page is first requested. When the cancel button is clicked, the text should change to alfa. The src is contained in a separate zip file in the route of the ear. I'm hoping that someone else can also see my problem. Thanks Jeff p.s. I've read the wiki page and have followed it. Part of me is hoping that this all turns out to me some stupid mistake on my part. url: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls Note: jboss-4.0.3SP1 myfaces-1.1.1.zip -Original Message- From: Volker Weber [mailto:[EMAIL PROTECTED] Sent: 17 January 2006 14:38 To: Matthias Wessendorf Cc: [EMAIL PROTECTED]; MyFaces Discussion Subject: Re: myFaces - servlet redirect. Hi, i didn't implement this, i just have mentioned we have this in tobago :-). @Jeff: i don't understand yout last post on [EMAIL PROTECTED] you have a mapping of /view/ for the servlet ant the url http://localhost:8080/ebusiness/faces/view/task?id=1 i wonder why /view/task is mapped to the Servlet . try mapping /view and url http://localhost:8080/ebusiness/faces/view?id=1 If this not works, create a small example app we can work with. regards Volker Matthias Wessendorf wrote: Hi Volker, since you implemented the NonFacesRequestServlet, could you helpout? I have not used the mentioned Servlet, just looked at the source to talk about how to redirect to a faces page that part seems to work, but his commandbutton has some issues. Thanks, Matthias On 1/17/06, Jeff Porter [EMAIL PROTECTED] wrote: Hi Matthias, Sorry to email you directly, but I'm stuck and in need of help. We talked on the myFaces mailing list, the subject was How can I redirect from a servlet to a JSF page. I've still got the problem that after I redirect from the servlet to my JSF, the commandButtons on the page no longer work. (I get a 404 page displayed) If I do not add the following to web.xml, then the commandButton's requests are passed to my NonFacesRequestServlet. With the following added, the commandButton's requests are not passed to NonFacesRequestServlet, but they also do not invoke the action in the commandButton link. Web.xml code... servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping If you have any ideas, that would be great. I'm going nuts over this problem. Thanks for taking the time to read this. Jeff -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com
Re: myFaces - servlet redirect.
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. Regards Volker Matthias Wessendorf wrote: url-pattern/faces/url-pattern /faces/* just like discussed here: http://www.mail-archive.com/users@myfaces.apache.org/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.
Re: myFaces - servlet redirect.
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/users@myfaces.apache.org/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
Re: myFaces - servlet redirect.
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/users@myfaces.apache.org/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