I have sought way to get rid of .xhtml extension, so that it is:
www.mysystem.com/view/login
rather than
www.mysystem.com/view/login.xhtml
I found some solutions, but all always use omnifaces, like this: Customize FacesServlet <url-pattern> to get rid of .xhtml extension
and I wouldn't want to use the omnifaces in my project. Currently I use JSF 2.2 and Spring Framework.
There is a way to get rid of the extension?