Re: Rewrite every *.jsf

Splash Forums PrettyFaces Users Rewrite every *.jsf Re: Rewrite every *.jsf



I hate to raise this post from the dead.

Lincoln, you said that the “enable ‘default’ discovery of mappings / removing *.jsf* from URLs” was on the list of enhancements.

I currently have:

<pattern> /main </pattern>
<view-id> /main.html </view-id>
<pattern> /about </pattern>
<view-id> /about.html </view-id>

It would be great to have one rewrite rule to just remove the “.html” from the URL while preserving parameters if present. I looked through the forums and latest docs and didn’t see an example of this.