Probably the easiest way is to have the outcome of your login display a JSF page that has an onload="..." to go to the non-JSF JSP.
- Brendan -----Original Message----- From: Duncan Krebs [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 11:53 AM To: MyFaces Discussion Subject: Re: Redirect to non view url I tried doing a response.redirect("mypage.dp"); but I get an error saying can not forward after a response has been commited. ----- Original Message ----- From: "Mike Kienenberger" <[EMAIL PROTECTED]> To: "MyFaces Discussion" <[email protected]> Sent: Monday, November 07, 2005 11:00 AM Subject: Re: Redirect to non view url Can you do a pure servlet redirect instead? On 11/8/05, Duncan Krebs <[EMAIL PROTECTED]> wrote: > > Hi, > I'm trying to set a navigation case where after successfull login the user > gets redirected to a non jsf link. The problem with the following entry in > myfaces-config.xml is that the Jsf controller changes the .dp to .jsf and I > don't want it to do that! Any ideas? > > > > <navigation-case> > > <!-- good login display web home--> > > <from-outcome>webloginsuccess</from-outcome> > > <!-- here it changes welcome.dp to welcome.jsf--> > > <to-view-id>/web/home/welcome/welcome.dp</to-view-id> > > <redirect/> > > </navigation-case>

