以下是我的jsp文件,即使有数据也只能显示:Nothing found to display.
控制台输出:
2010-3-24 19:23:33 org.displaytag.export.ExportViewFactory
信息: Initializing ExportViewFactory with type={csv,excel,xml,pdf}
2010-3-24 19:23:33 org.displaytag.properties.TableProperties getLocaleResolverInstance
信息: No LocaleResolver configured.
麻烦大家帮我看一下究竟是什么问题啊???
[code="java"]<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="display" uri="http://displaytag.sf.net"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
正在招标项目
<br> #body {<br> background: #CCFF66;<br> width: 800px;<br> height: 600px;<br> margin: auto<br> }</p> <p>#info {<br> background: #FFFF99;<br> margin: 10px;<br> height: 580px;<br> }<br>
<body>
<div id="body">
<div id="info">
<display:table name="inquiryList" id="iList" pagesize="5"
requestURI="showCurProject" export="true">
<display:column property="id" title="111(点击排序)" sortable="true" />
<display:column property="theme" title="222(点击排序)" sortable="true" />
<display:column property="Isforeign" title="333(点击排序)"
sortable="true" />
<display:column property="inquiryDate" title="444(点击排序)"
sortable="true" />
<display:column property="customerId" title="555(点击排序)"
sortable="true" />
<display:column property="state" title="666(点击排序)" sortable="true" />
</display:table>
</div>
</div>
</body>
[/code]