Hi,
I had searched in gogle, and got some idea. Now I am coming to my problem.
My problem is not with how to design tab. I already mentioned that I had got some tips for the tabs. But what my problem is, how to get the value from each tab and while submit, all the values from all the tabs should be stored in the DB.
In a normal sceneario, we can get the value from the form by using getParameter to the servlet and then store it ti the DB. But here I am having 5 tabs and each tab will have several text fields.
Supposing I am having three tabs namely, T1,T2,T3
T1 - T1 is a tab and it has a form with some text fields. I am filling the fields and after that I am going to tab T2.
T2 - T2 is an another tab with some text fields and i am filling that to & same for tab T3.
Now I am at Tab T3 with the values from the Tab T3, how can I get the values from the tabs T1 and T2. SInce I want to store is DB with all the values from tabs T1, T2 and T3. Whether we can store the values from T1 and T2 in the page scope or request scope or session scope. We don't know in which order the user is going to fill the fields in the tabs.
When the user fills the text fields in one of the tab T1 and store all the values in the session and similarly to T2 and T3 and finally submitting we can get it from the session and store it in the DB.