You can do something as below
First, in any of your jquery functions on the jsp page, add the following code,
for(var i=0; i<lcount;i++){ //lcount is number of splits. $('#tload'+i).load('url of controller class that helps in loading form'); }
Write divs on the same jsp page with id like 'tload1','tload2','tload3' and so on.
<div id="tload1"></div> <div id="tload2"></div> <div id="tload3"></div> ............ ............ so on
whenever you return from your controller, return to the jsp page containing the iframe that loads your form. Using the .load() function, as shown above, will automatically load the iframe containing your forms into the appropriate div tags . This means that your problem is intercepted.
source share