Reputation: 9574
I built up an app using RichFaces, PrimeFaces, and Java in the back. The outcome (mysite.war) I let run within Wildfly 8.
Now my pages are like this:
I would like to change that to more readable URLs. Especially the reports! Taking the example order, I am looking forward to having something like this:
I believe I will have to concentrate on the equivalent of mod_rewrite in Wildfly 8? Does anybody know a step-by-step how to for that? Or maybe a short explanation?
Upvotes: 1
Views: 2388
Reputation: 1158
You may also want to look at Rewrite, which will be the core of PrettyFaces 4. It's more dynamic and can intercept URLs if you require login.
http://www.ocpsoft.org/java/migrating-from-prettyfaces-to-rewrite-simplicity-meets-power/
http://www.mastertheboss.com/javaee/servlet-30/rewrite-a-java-ee-url-rewriting-solution
Upvotes: 3