2
我正在开发一个弹簧mvc的portlet。 我使用的显示标签库导出excel数据,CSV,XML等显示标签库弹簧mvc
我正在listining像上面真值,
广告Soyad(列名)
ERDI卡亚
3.serkan gurbuz
我的jsp FIL E本,
<%@ page buffer = "16kb" %>
<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet_2_0"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page contentType="text/html" isELIgnored="false"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<display:table name="userList" export="true" >
<display:column property="ad" title="ID" sortable="true" headerClass="sortable" />
<display:column property="soyad" sortable="true" headerClass="sortable" />
</display:table>
当我点击的Excel,CSV或XML我收到错误
无法返回出口数据之前重置响应。您没有使用导出过滤器。确保在display:table之前没有使用其他jsp标签,或者参考displaytag文档了解如何配置导出过滤器(需要j2ee 1.3)。
我还没有解决2天tih error.i使用显示1.2罐和其他所需的罐子。