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

SandeepMSandeepM Posts: 28Questions: 0Answers: 0
edited July 2012 in General
$(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

Replies

  • arjun_adhikariarjun_adhikari Posts: 32Questions: 0Answers: 0
    hi Sandeep,

    i believe you have to do the following:
    String name = request.getParameter("name");
    String value = request.getParameter("value");

    Arjun
This discussion has been closed.