The following snippet renders a jQuery UI tab (let's call this screen-1). Each tab has a set of form which calls its respective action. One strange problem that I noticed is the following:
Click on one of the forms in any one of the tabs. This will load the contents of the new
jsp page in the same tab. This new jsp page has a so called "Get me home" link and on click of this link, I can return to the main page that renders the tab (the screen-1). When I'm in the new jsp page rendered by one of the tabs, I click on another tab which also has a form and it opens the corresponding jsp in a new window rather than opening it in the same tab.