I think you can do it with facelets. Just create your files without an extension.
You may also be able to do it with a custom view handler. On Dec 17, 2007 2:26 PM, Zheng, Xiahong <[EMAIL PROTECTED]> wrote: > > > I know it must be possible. But I don't seem to be able to get it to work. > It looks like if you use suffix based URL mapping in your web.xml like the > following > > <servlet-mapping> > <serlvet-name>Faces Servlet</servlet-name> > <url-pattern>*.faces</url-pattern> > </servlet-mapping> > > You URL will have to end up with .faces suffix like /myapp/welcome.faces. In > this case, the suffix will be replaced by .jsp before rendering. I would > like to use path based mapping such as > > > <servlet-mapping> > <serlvet-name>Faces Servlet</servlet-name> > <url-pattern>/sample/*</url-pattern> > </servlet-mapping> > > and be able to use URL like /myapp/sample/welcome. However, it does not > work, because in this case, there is no attempt by the framework to add the > default suffix .jsp to the viewId, as a result, I got a 404 resource not > available error. >

