make URL the actual address

Hi guys,

I know that JSF always make the URL - 1, where if u request page2.jsf from page1.jsf, the browser address bar will still show page1.jsf eventhough u r already in page2.jsf. How could it be possibly make the address bar show the actual URL ? Thanks in advance !

regards,

Mark

[308 byte] By [kmthiena] at [2007-10-2 5:39:04]
# 1

It's a natural behavior because the browser doesn't know which page

the server decide to navigate to.

In many cases, users don't mind the URL, I think.

If you mind it, you can use <redirect/> option in the navigation-rule.

But note that <redirect/> makes the number of requests be twice.

In addition, you can't use any request scoped managed beans

because the response is rendered in another request.

yuki.yoshidaa at 2007-7-16 1:49:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...