faces-redirect=true in JSF

Posted by Odelya on Stack Overflow See other posts from Stack Overflow or by Odelya
Published on 2010-06-07T14:34:16Z Indexed on 2010/06/07 15:22 UTC
Read the original article Hit count: 783

Filed under:
|

Hi!

I am using the ?faces-redirect=true in my JSF2 since I would like to redirect the user so the URL will be changed.

In JSF1.2 I added </redirect> in faces-config.

In JSF2 I have to add to my url return home?faces-redirect=true.

The problem is that I see faces-redirect=2 in the URL, what I haven't seen in JSF1.2 when I used

How can I use faces-redirect in actions without displaying it in the browser URL?

© Stack Overflow or respective owner

Related posts about jsf

Related posts about jsf2