Not able to invoke struts 2 action class from jquery data table when my webapp loads

Not able to invoke struts 2 action class from jquery data table when my webapp loads

rameshJqueryrameshJquery Posts: 1Questions: 1Answers: 0

Hi,

I am not able to invoke struts 2 action class from jquery data table when my webapp loads. Below is the jsp that displays when my struts 2 web app is up. Please help to resolve the issue. Thanks Ramesh:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>jQuery DataTable</title>

<link href="css/demo_table_jui.css" rel="stylesheet" />
<link href="css/jquery-ui.css" rel="stylesheet" />
<link href="css/demo_page.css" rel="stylesheet" />


$(document).ready(function() { $("#jqueryDataTable").dataTable({ "sPaginationType" : "full_numbers", "bProcessing" : true, "bServerSide" : true, "sAjaxSource" : "dataTablesAction", "bJQueryUI" : true, "aoColumns" : [ { "mData": "company" }, { "mData": "country" }, { "mData": "year" }, { "mData": "revenue" } ] } ); } );

</head>

<body id="dt_example">

jQuery DataTable

Company Country Year Revenue

</body>
</html>

This discussion has been closed.