Forums Register Login

Navigation Problem - URL not updated

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
any one?
+Pie Number of slices to send: Send
Try this:



There was a very long thread trying to explain why and what happens when we redirect the page. I was not able to find the thread though. But that was the solution given and it works.
Evildoers! Eat my justice! And this tiny ad's justice too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2152 times.
Similar Threads
why the same URL shows different page in JSF
.jsp file becomes .jsf file?
buttons problem
form address inverse
navigation issue
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:21:48.