By W.ZH Mar 2013
First take a look web.xml, it point to index.html, then when you open the index.html,
In PS3 and PS4 versions it is setted to <meta http-equiv=”refresh” content=”0;url=./faces/pages_home”/>
So index.html will guide the page to this one as the home. Why you must name this home as the “pages_home”? can name as others or not? We can open the faces-config.xml to take a look:
So we can see that login and logout by default use this view id as the home page, we must keep all these define same. If not, after log out, you will see a URL 404 not found error. Of coz you can change it, but they must keep them unified or point to correct different view to make landing/login/logout all works point to correct pages.
In PS5, this wcnav_defaultSelection is defined in where? I do not find it, I think it should be a servlet that in the WC API lib.