I'm trying to integrate a JSF (2.2.10) into a NON JSF existing Project. For compliancy to the existing project structure I would like to customize the path where Mojarra searches for the pages without modifying the url (or using external url-rewrite)
Path for accessing JSF pages
http://my.web.app/context/faces/page1.xhtml
Essentially the lookup scheme would change from
webapp\
templates\
WEB-INF\
lib
page1.xhtml
page2.xhtml
etc...
to
mydir_outside_webapp\
templates\
page1.xhtml
page2.xhtml
etc...
...
webapp\
templates\
WEB-INF\
lib
I could not find a way to customize JSF to achieve the desired behaviour. Ah, the application is not bundled in a war but is deployed in a directory structure
Thank you for your support!