regards,
Martin
On 8/4/05, Clément Maignien <[EMAIL PROTECTED]> wrote:
Cool ! This works perfect :D
Thanks a lot Johannes ;)
Clément - Loves when problems solve so quickly, thx again.
-----Message d'origine-----
De : Johannes Hiemer [mailto: [EMAIL PROTECTED]]
Envoyé : jeudi 4 août 2005 12:28
À : MyFaces Discussion
Objet : Re: Shift in browser url bar
Hi,
did you add the <redirect/> in your faces-config.xml?
Something like that as example:
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/success.jsp</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
Hope that helps.
Regards Johannes
>"MyFaces Discussion" < [email protected]> schrieb am 04.08.05 11:26:12:
> Hi, I notice a problem in my web application. This is quite wierd : I have a welcome page "index.jsp" that redirect to a login page "login.jsp". This works fine at that >point : the url in my browser displays "http://localhost:8080/myApp/faces/login.jsp" The problem comes after the login action : In case of login success, the >welcome.jsp page is displayed as expected but the url in my browser is still "http://localhost:8080/myApp/faces/login.jsp" instead of >"http://localhost:8080/myApp/faces/welcome.jsp " Then during all the navigation this shift between the previous and the actual page still occurs : if the current.jsp >page is displayed I have "http://localhost:8080/myApp/faces/previous.jsp" in the url bar of my browser. Then if I click on link to "next.jsp" in my menu, the url bar will >be "http://localhost:8080/myApp/faces/current.jsp" ... hope this is clear (... not sure :D ) This is quite cumbersome, because on a relaod browser button click the >previous page is redisplayed instead of the current one. The problem occurs in every browser I tried. Does anyone encounter this problem before ? Which files of my >webapp do you need to see where the problem could come from ? Thanks a lot Clément.
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201

