When navigating from one tab to another, i.e, on clicking the submit button in a tab1 (which is jsp) the tab2 has to get loaded. My code is below.
First, you should upgrade plugin to at least v3.6.1. Put $.subscribe before the tag which sets topics to publish that you subscribed to. Make sure you have jQuery UI enabled.
$.subscribe
the script to sibscribe topics
tabs with navigator button
Next JSP JavaScript Java