users@glassfish.java.net

Re: Latency in URL on navigation

From: <forums_at_java.net>
Date: Tue, 10 May 2011 08:37:25 -0500 (CDT)

By default, JSF forwards to the next page, which causes the off-by-one
you're seeing.  To make the URL reflect the page currently displayed, you
need to tell JSF to redirect to the page (via the XML config or the action
string), which will result in an extra roundtrip to the server, but the URL
will be up-to-date.  This article might help: 
http://blogs.oracle.com/enterprisetechtips/entry/post_redirect_get_and_jsf

Jason Lee


--
[Message sent by forum member 'jdlee']
View Post: http://forums.java.net/node/800172