Address inverse My welcome file is welcome.faces redirected by index.html. When browser load welcome.faces, address bar show like �http://localhost/logo/welcome.faces�.When click the command buttom after filling text box, browser load success.faces. But address bar show �http://localhost/logo/welcome.faces�. When click command buttom in success.faces, browser load welcome.faces. But address bar show �http://localhost/logo/success.faces�. At this time, when click the command buttom in welcome.faces without no change in text box, address bar change from �http://localhost/logo/success.faces� to �http://localhost/logo/welcome.faces�.But form have no change.What is wrong? My web service directory is apache tomcat.
Give me correct flow and why? My email address is email@example.com.
Here is my code. web.xml. <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping>
A lot of people don't like the fact that the displayed URL in a JSF application doesn't track the actual pages. All JSF cares about is that the displayed page contains enough hidden information to keep the conversation flowing.
Actually, this is mostly a problem when you try and bookmark a page, since the context won't be there if you jump direct. People have been working on this.
An IDE is no substitute for an Intelligent Developer.