Trailing Slashes uses

Splash Forums PrettyFaces Users Trailing Slashes uses

This topic contains 1 reply, has 1 voice, and was last updated by  Beto 10 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #18136


    Hi everybody!

    I’m new in this forum and with prettyfaces, but its so easy to use that i didn’t need any support.. until now haha..

    So, reading about trailing slashes uses on rewrite rule, at docs, i don’t figured out how to configure pretty-config.xml to accept an URL without “/” to rewriting using the trailing slashes.

    Example: i have the URL “” and pretty-config like this:

    <url-mapping id=”home”>

    <pattern value=”/home” />

    <view-id value=”/faces/home.jsf” />


    This works fine, but if i use the URL “” it shows a 404 error!

    I try to use the rewrite rule:

    <rewrite trailingSlash=”append” redirect=”chain”/>

    But don’t work.

    Anybody helps? Thanks in advance!


Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.