Prevent “.xhtml” append to “to-view-Id” within fac

2019-08-04 07:08发布

问题:

How do I keep extensionless URL in the to-view-id(s) within faces-config.xml so that it doesn't append .xhtml to the end of it ?

For e.g. while defining a navigation case, I define a to-view-id as /topics/54233 but faces-config redirects me to /topics/54233.xhtml which I surely want to prevent. How do I do it ?