I have a simple jsf webapp with the following navigation rule
and I also have a index.jsp which simply redirects to a.faces
Ok., here is my problem. When I goto http://localhost/jsfu it takes me to the http://localhost/jsfu/a.faces and the browser displays the url as "http://localhost/jsfu/a.faces".
I click on a command button on a.jsp which takes me to b.jsp. b.faces is displayed. BUT the address displayed in the browser is still "http://localhost/jsfu/a.faces".
I click on a link in b.jsp which takes me to b1.jsp. b1.faces is displayed. BUT the address displayed in the browser is "http://localhost/jsfu/b.faces".
Simply put, for some wierd reason its always displaying the previous page in the browser address bar. Anyone know why it might be doing this? By the way, I am using Apache Myfaces
and I also have a index.jsp which simply redirects to a.faces
Ok., here is my problem. When I goto http://localhost/jsfu it takes me to the http://localhost/jsfu/a.faces and the browser displays the url as "http://localhost/jsfu/a.faces".
I click on a command button on a.jsp which takes me to b.jsp. b.faces is displayed. BUT the address displayed in the browser is still "http://localhost/jsfu/a.faces".
I click on a link in b.jsp which takes me to b1.jsp. b1.faces is displayed. BUT the address displayed in the browser is "http://localhost/jsfu/b.faces".
Simply put, for some wierd reason its always displaying the previous page in the browser address bar. Anyone know why it might be doing this? By the way, I am using Apache Myfaces