how will i get the parameter what ever i have passed in server mside pagination on that called page
how will i get the parameter what ever i have passed in server mside pagination on that called page
$(document).ready(function() {
$('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "scripts/server_processing.jsp"
"fnServerParams": function ( aoData ) {
aoData.push( { "name": "more_data", "value": "my_value" } );
}
} );
} );
I want to get that parameter "name": "more_data", "value": "my_value" passed on server_processing.jsp page how will i get it?
plz help
$('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "scripts/server_processing.jsp"
"fnServerParams": function ( aoData ) {
aoData.push( { "name": "more_data", "value": "my_value" } );
}
} );
} );
I want to get that parameter "name": "more_data", "value": "my_value" passed on server_processing.jsp page how will i get it?
plz help
This discussion has been closed.
Replies
i believe you have to do the following:
String name = request.getParameter("name");
String value = request.getParameter("value");
Arjun