I have 2 tabs tab1 and tab2 in a jsp page and Tab1 is the selected tab, when the page is loaded tab 2 should not be loaded. That means Tab2 should
display its data only when i click on it. This is working fine. My issue is when I click back on Tab1 after visiting Tab2, Tab1's existing data is gone and vice versa.
ie, when I revisit the tabs, its existing data should be there.