I am using Primefaces and JSF2 . All my .xhtml files are dumped in the war folder. Is it possible to arrange them in separate folder? When I tried, .xhtml didn’t get loaded.Please help.
I am using Primefaces and JSF2 . All my .xhtml files are dumped in
Share
check your web.xml file.
make sure the Faces Servlet’s url-pattern points to the new folder’s path.
Or simply change the url-pattern to *.xhtml.