How to write the server-side code with java when I use the deferred loading?

How to write the server-side code with java when I use the deferred loading?

dmjsophiadmjsophia Posts: 4Questions: 0Answers: 0
edited November 2011 in General
Hi there !
I want to use the deferred loading because my data amount is really huge.
But I'm not quite sure how to write the background program in a .class file.
My jsp is wrotten like this:
[code]
$('#demo1').html( '' );
$("#example1").empty();

$('#example1').dataTable({
"bServerSide": true,
"sAjaxSource": "selectAction!Select1.action?first="+p1+"&forth="+p4+"&second="+p2+"&thirds="+p3,
"aoColumns":[{"sTitle":"名称"},{"sTitle":"地址"},{"sTitle":"联系方式"},{'sTitle':"邮编"},{'sTitle':"传真"},{'sTitle':"邮箱"},{'sTitle':"网址"}],
"sScrollX": "100%",
"bJQueryUI": true,
"iDeferLoading": 517,
"sPaginationType": "full_numbers"

});
[/code]
the p1、p2、p3、p4 are four params that I need to deliver to the background server.
Would you please tell me how to write the background programe?
PS:Is the first page of the table must be preloaded in the HTML?
I'm looking forward your help!!!
Thanks a lot!

[/codde]
This discussion has been closed.