Hello, Its me again ^.^.
Just a quick question regarding URL-Mapping in JSFs.
When I first load up my web app, it takes me to the specified welcome page, but the URL at that point is:
localhost:port/projectName/
but the next time its refreshed, URL moves to the format localhost:port/projectName/faces/login.xhtml
which is how I want it.
Does anyone know how to get it to always start like that latter? Thanks.
Heres my web.xml file:
<servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <session-config> <session-timeout> 30 </session-timeout> </session-config> <welcome-file-list> <welcome-file>faces/login.xhtml</welcome-file> </welcome-file-list>