Thursday, January 29, 2009

JSF Session Parameters and Redirect

Putting values in the Request map is problematic issue.
JSF navigation has 2 modes:
1) Forward
2) Redirect

The forward solution is not good. Mostly because:
The Url is not updated on the browser, causing compability problems with 3rd service companies. No bookmarking available. No possibity to send URL to some by email and all sort of side effect problems.

The redirect solution is also problematic, since redirecting to a new page is a new request. This causes the data that is put in the request map to disappear.

Sun forum

No comments: