Reply To: com.ocpsoft.pretty.PrettyException: Failed to load configuration

Splash Forums Rewrite Users com.ocpsoft.pretty.PrettyException: Failed to load configuration Reply To: com.ocpsoft.pretty.PrettyException: Failed to load configuration

#25886

zozan
Participant

My configuration:

.addRule(Join.path("/{lang}/{path}").to("/{path}.xhtml"))             
 .where("path").transposedBy(LocaleTransposition.bundle("com.gesht.bundles.text", "lang"))

My application opens in localhost:8080/resht/, or localhostL8080/resht/Home.xhtml I want it to open in localhost:8080/en/resht/Home
I used to reach my application with the later URL with glassfish 3.1.2 and previous configuration which I have already posted. In glassfish 4.0 it doesn’t work with either configuration.