Re: How can I do for it using rewrite

Splash Forums Rewrite Users How can I do for it using rewrite Re: How can I do for it using rewrite

#22634

You can implement something like this using a Join. Have a look at this integration test here:

https://github.com/ocpsoft/rewrite/blob/master/impl-servlet/src/test/java/org/ocpsoft/rewrite/servlet/config/JoinConfigurationProvider.java

So you could do something like this:

.addRule( Join.path("/{name}.html").to("/{name}.jsf") );

I hope this helps. :)

Christian