Reputation: 55
How can I clear the contents of a dataTable??
The user will import a textfile and then the data from that textfile will be displayed in a dataTable. When the user navigate to other pages and then decided to make an import again, the data from the previous import is still there.
Upvotes: 1
Views: 574
Reputation: 1109865
Put the bean in the request or view scope instead of the session scope.
Upvotes: 1