Reply To: Handling Multilanguage JSF Application with Rewrite

Splash Forums Rewrite Users Handling Multilanguage JSF Application with Rewrite Reply To: Handling Multilanguage JSF Application with Rewrite

#24025

zozan
Participant

Sure here it is:

.addRule()             
            .when(Path.matches("/"))
            .perform(Redirect.temporary(context.getContextPath() + "/{lang}/Home"))
             .where("lang").bindsTo(El.property(localeBean.getLang()));