Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

browser back button with JSF

807605Sep 13 2007 — edited Sep 13 2007
In my application I display a JSF page where the user can enter selection values which are then used to retrieve the records from the database. The information retrieved is stored in a bean and then displayed as a DataTable. This works OK.
The page contains a "Cancel" button which removes the bean from the session scope. The next time the user starts the page, it is empty again. This works OK as well.
If the user uses the browser's back button the previous page is displayed but if he starts the page again, the already existing data from the bean are displayed respectively the page looks exactly as it was before using the back button. I would like it to be empty as well (initialized).
I cleared the cache using the response.setHeader() statements within the JSP. The page isn't cached anylonger but it still shows the old data.

Is there a way how to force JSF to initialize the page ?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2007
Added on Sep 13 2007
1 comment
423 views