I would like to change the query url after a postback.
Example: after a successful postback (a save operation) the URL must be changed from /user.jsf to /user.jsd?userId=123.
Changing the query string on postback
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
You could try a redirect.
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
I'm just suggesting you follow the post/redirect/get design pattern:
http://en.wikipedia.org/wiki/Post/Redirect/Get
Something else you could try is URL rewritting. Take a look at PrettyFaces:
http://ocpsoft.com/prettyfaces/
http://en.wikipedia.org/wiki/Post/Redirect/Get
Something else you could try is URL rewritting. Take a look at PrettyFaces:
http://ocpsoft.com/prettyfaces/
-
- Information
-
Who is online
Users browsing this forum: No registered users and 67 guests