Hi ,
Any one could help me to understand the bellow code in web.xml file.
<servlet-mapping>
<servlet-name>Faces
Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
because i'm facing one problem with my login .xhtml file i'm created one project and configured for prime face. Initially i'm done with the login.xhtml file bellow i'm copying the code bellow..
<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui">
<ui:define name="content">
<h:panelGroup layout="block">
<form id="login-form" method="post">
<h:outputText value="My Prime Face First Page" style="color:red" />
</form>
</h:panelGroup>
</ui:define>
</ui:composition>
if i'm typing the url :
http://localhost:8080/PrimeFaceDemo/login.xhtml gives me blank page no out put.
i created one
jsp page in the same login.xhtml place..and tried the url
http://localhost:8080/PrimeFaceDemo/test.jsp ..then this url is working fine ..
but im wondering why login.xhtml is not working..
Anyone could give me some help in this topic ...
Thanks in Advance...
Sijesh