Hello to all,
I'm using JSF 2, and I have all my xhtml files under "/src/main/webapp/", so I can access directly to this files writing his name on the navigator.
I want to hide the files in "/src/main/webapp/WEB-INF/views" for example.
If I modify the file faces-config.xml with this:
It functions halfway, for example I can navigate from home.xhtml to welcome.xhtml, but I can not make actions from welcome.xhtml to itself (this works with the files under /src/main/webapp/)
How can I do to prevent direct access to the files? I'm not using web.xml.
Thank you very much,
Retrieving data ...