Im having JSF project in which i have xhtml pages. and my web.xml looks like below
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet>
Now when i hit the page like login.jsf, then it correctly loads login.xhtml. how does this happens ? Is this handled by FacesServlet ?
My another question is , Is FacesServlet and Facelets are same or different ? If different then what does Facelets means ?