蒲公英数据库AJAX网址不工作 [英] Dandelion Datatables AJAX url is not working

查看:157
本文介绍了蒲公英数据库AJAX网址不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JSP代码如下

<datatables:table id="studentMeetingtbl" url="getStudentMeetingList"        serverSide="true" processing="true"  
 row="studentMeeting" rowIdBase="id" rowIdPrefix="studentMeeting_" 
 displayLength="10" lengthMenu="10,15,25,50,100"    jqueryUI="true"  
 filterable="true" sortable="true"  
 autoWidth="true" pageable="true" 
 paginationType="full_numbers" 
 stateSave="true" >
<datatables:column title="Id" property="id" filterable="false" sortable="false" searchable="false" visible="false" />
<datatables:column title="Actions" renderFunction="actions" filterable="false" sortable="false" searchable="false" display="HTML" />
<datatables:column title="Id" property="id" />
<datatables:column title="Group Name" property="group.groupName" />
<datatables:column title="Project Name" property="group.projectName" />
<datatables:column title="Meeting Date" property="meetingDate" renderFunction="ParseDateColumn"/>
<datatables:column title="Next Review/Meeting Date" property="nextReviewDate" renderFunction="ParseDateColumn"/>
<datatables:column title="Remarks" property="remakrs" />
</datatables:table>

输出是

浏览器中的堆栈跟踪是

Stack trace in browser is

我们可以看到它没有从指定的 url =getStudentMeetingList中获取任何内容。

As we can see it is not fetching anything from specified url="getStudentMeetingList".

请显示方法来解决此问题。这是因为tomcat 8或7与数据表不兼容吗?

Please show way to resolve this issue. Is this because tomcat 8 or 7 is incompatible with datatables?

推荐答案

添加

  <mvc:resources mapping="/dandelion/**" location="/dandelion/" />

在调度程序中解决了流水线问题。

in dispatcher it solved pipelining problem.

这篇关于蒲公英数据库AJAX网址不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆