What makes JSF URLS be JSF URLs is that the are directed to the FacesServlet. They are directed there because of the URL mapping statement. URLs that match the mapping pattern get routed to the FacesServlet because that's how J2EE URL routing works. It's that simple.
So if you really want to mess with people, you could just as easily have made a mapping pattern like "*.aspx" or "/uglyfaces/*".
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Dec 28, 2009
Thanks guys for your replies. Well I found a soultion for this. In web.xml I specified this URL pattern.
Si if I want to visit "first.jsp". I will write only "first" in browser without the extenssion. The request will go to filter which will add the ".faces" extenssion to it. After that the request will be dispatched to faces Servlet.
Hope it helps others.