I am developing an application on Spring MVC with tiles. The top tile has a logout button. When I click on that button, I would like to save the data on the page and then logout.
Note: The logout button is common for all pages displaying on the main tile. Please help me with code samples and flow.