You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Clément Maignien <c....@edic-syliance.com> on 2005/08/04 11:24:40 UTC
Shift in browser url bar
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 <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 <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.