users@glassfish.java.net

Latency in URL on navigation

From: <forums_at_java.net>
Date: Mon, 9 May 2011 08:53:45 -0500 (CDT)

Hi there!

Why is there a delay in one "step" in URL, when one navigates from a page to
a page? Let's take, for example,
C:\glassfish3\glassfish\docs\javaee-tutorial\examples\web\hello1\ web app.
When I get to http://localhost:8080/hello1/ [1] that's ok: contents of an
index.xhtml is depicted. When I submit the form I do receive contents of a
response.xhtml, but the URL is http://localhost:8080/hello1/faces/index.xhtml
[2], when it should to be http://localhost:8080/hello1/faces/response.xhtml
[3]. On clicking the Back button the picture is the same: contents is from
index.xhtml, but the address is
http://localhost:8080/hello1/faces/response.xhtml [4]!

Regards,
YT.


[1] http://localhost:8080/hello1/
[2] http://localhost:8080/hello1/faces/index.xhtml
[3] http://localhost:8080/hello1/faces/response.xhtml
[4] http://localhost:8080/hello1/faces/response.xhtml

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