In JSF, the URL isn't always pointing to the current page. That's because a URL is a
resource locator. It is NOT a "file location".
In most systems, the URL does act like a "file locator" to some degree or other, but JSF uses an extensive postback mechanism so that doesn't work.
You should consider the URL to be more of a "session handle" than an absolute indicate of which view resource is being displayed.