You can do something as below,
First in any of your jquery
function in your jsp
page add 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 some divs
in same jsp page with id
as 'tload1','tload2','tload3'
so on.
<div id="tload1"></div>
<div id="tload2"></div>
<div id="tload3"></div>
............
............
so on
whenever returning from your controller return to jsp page that contains iframe which loads your form. By Using .load()
function as shown above will automatically load iframe
containing your forms into respective div tags
.That's it, your problem is sloved.