使用 JSP 和 JAVA 的 jQuery DataTables 服务器端处理

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4591596/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 17:31:43  来源:igfitidea点击:

jQuery DataTables server-side processing using JSP and JAVA

jqueryjquery-uidatatables

提问by user562227

I am new to Jquery and Datatables. I am trying to use Datatables in my project. Can anyone please let me know get the data from JSP/Java and use it in Datatables. Any links or examples would be very helpful. Thanks Bharath

我是 Jquery 和 Datatables 的新手。我正在尝试在我的项目中使用数据表。任何人都可以让我知道从 JSP/Java 获取数据并在数据表中使用它。任何链接或示例都会非常有帮助。谢谢巴拉特

采纳答案by Arun P Johny

I think what you are asking ajax based datasource to be used with datatables.

我认为您要求将基于 ajax 的数据源与数据表一起使用。

You can find some samples in the below links
Server side processing
Ajax Source

您可以在以下链接中找到一些示例
服务器端处理
Ajax 源

Documentation for server side processingcan be found here.

可以在此处找到服务器端处理的文档。

回答by Jovan MSFT

Hereis an example of Datatables integrated with Java servlets/JSP . You can also download the source code with a working example.

是一个与 Java servlets/JSP 集成的数据表示例。您还可以下载带有工作示例的源代码。