Re: beginner trouble with welcome file/home: domain not redirected, links don't work

Splash Forums PrettyFaces Users beginner trouble with welcome file/home: domain not redirected, links don't work Re: beginner trouble with welcome file/home: domain not redirected, links don't work

#21680

bcn
Participant

Yes, at the end I use

<rewrite match=”^/$” substitute=”/home” trailingSlash=”remove”/>

because to get around the second problem I found that the mapping without trailing slashes works:

@URLMapping(pattern = “/home”, viewId = “/index.jsf”, id = “index”),

@URLMapping(pattern = “”, viewId = “/index.jsf”, id = “root”),

Thanks!