Arjan Tijms 8/17/2017

Extensionless URLs with JSF 2.3

Read Original

This technical article explains how to achieve extensionless URLs (without .xhtml/.jsp suffixes) in JSF 2.3. It details a method using a ServletContextListener to dynamically map all application views to the FacesServlet, combining JSF 2.3's view resource API with Servlet 3.1 features. The solution is demonstrated with a code example and was tested on Payara Server 5.

Extensionless URLs with JSF 2.3

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser