I have a jsp page which is built using the jQuery UI tabs. Each tabs contains one or more forms. Clicking any one of the forms will call another jsp page and somehow I'm able to load this new jsp page under the same tab. I also have the tab id in this new jsp page. Additionally I have a back button on this new jsp page which should take me back to the original tab from where this jsp came from. My idea is to call the main jsp page which contains all these tabs and on ready of that jsp page, execute some jQuery stuff to open and show the respective tab that I want. Did I think it right?
alert(param); for example gives me 1 when I clcik some links in the first tab (I assume that the tabs are numbered from 0). But how to I show the first tab when I land in this jsp page back again is what I need to solve now?