I am going to implement sub-tabs with main-tabs in my project. There are two main tabs in my JSP. The main-tab has two sub-tabs, one of them sholud be active when page loads initially. I implement sub-tabs in the view into JSP. But when page loads, main tab is not active while its sub-tab is active. I've no idea how to make active both main-tab and its sub-tabs simultaneously. If anybody have some suggestions/solutions, then please help me.