Re: Rewrite every *.jsf

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

#20598

Keep in mind that your rewrite rule is explicitly *adding* “.jsf” to inbound URLs, so it would certainly update the browser URL unless you specify a chaining/internal redirect (servlet forward.)

Try: <rewrite processor="org.appfuse.webapp.util.UrlProcessor" inbound="true" redirect="chain"/>

Note: You do not need this rewrite rule if you create a mapping for each page in your application – as you have done for ‘login’ and ‘logout.’

It is on our short list of enhancements to enable “default” discovery of mappings / removing *.jsf* from URLs, making this process simpler.