这是那段代码 
<display:table name="show" style="mars" pagesize="20"> 
<display:column property="mid" title="编号" class="idcol"/> 
<display:column property="mname" /> 
<display:column property="geshou" class="tableCellError"/> </display:table> 
如果不分页都显示,当分页后只显示第一页,点击下一也就报错... 
500错误为: 
description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: fromIndex = -20
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause java.lang.IndexOutOfBoundsException: fromIndex = -20
java.util.SubList.<init>(AbstractList.java:703)
java.util.RandomAccessSubList.<init>(AbstractList.java:861)
java.util.AbstractList.subList(AbstractList.java:570)
org.displaytag.pagination.SmartListHelper.getListForPage(SmartListHelper.java:219)
org.displaytag.pagination.SmartListHelper.getListForCurrentPage(SmartListHelper.java:200)
org.displaytag.tags.TableTag.setupViewableData(TableTag.java:1525)
org.displaytag.tags.TableTag.doEndTag(TableTag.java:1198)
org.apache.jsp.show_jsp._jspx_meth_display_table_0(show_jsp.java:158)
org.apache.jsp.show_jsp._jspService(show_jsp.java:99)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)