Reply To: RewriteRule to PrettyFaces.config

Splash Forums PrettyFaces Users RewriteRule to PrettyFaces.config Reply To: RewriteRule to PrettyFaces.config

#25299

You could try changing your parameter pattern to the following:

<pattern value="/ingredient/#{ /([a-zA-Z ]*)/ ingredient }.html" />

This might work.

Otherwise, check out http://ocpsoft.org/rewrite/ – which is the lower-level java-based URL-rewriting framework on which PrettyFaces is built. It will definitely let you do what you need if this does not work πŸ™‚