If the server is not already running, publishing will happen automatically when you run the page. Depending on the server and its settings, it might publish automatically when you save changes to the web project; in this case, wait until the server's status is listed as Synchronized.
http://hostname:portnumber/myProject/faces/myPage.jsp
You
may also see this URL:http://hostname:portnumber/myProject/myPage.faces
In
each case, hostname refers
to the name of your local server, such as localhost,
and portnumber refers to
the port of that server. Note that in the first case, JSF adds the /faces prefix
to the URL. In the other case, it adds the .faces extension
to the file name, replacing the actual .jsp extension.
These URLs are equivalent and refer to the same JSP file and JSF Handler
part. However, conflicts between these two different URLs can cause links to break when you test web pages in the workbench. If the page opens as myProject/myPage.faces, relative links to a page named myProject/myOtherPage.jsp will not work because JSF sets the location for the target page as myProject/myOtherPage.faces and myProject/faces/myOtherPage.jsp. In this case, you must either change the link to myProject/faces/myOtherPage.jsp or myProject/myOtherPage.faces, or open the original page as myProject/faces/myPage.jsp.