Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4385861
By: robl29

I did exactly what you said and it does not work for me at all. Instead of using
the filename specified in the setProperty tag (data.xls or data.csv), it uses
the value in the requestURI. I can not figure out it at all.  Please help!

here is my jsp:

<display:table name="${result}" id="result" class="ApptableDisplayTag" 
export="true"
requestURI="/searchResults.do" pagesize="2">
    <displaytag:setProperty name="export.excel.filename" value="data.xls" />
    <displaytag:setProperty name="export.csv.filename" value="data.csv" />  
    <display:caption>This is the table caption</display:caption>
    <display:column sortable="false" title="Keys of Defective Records"> <c:out
value="${result}"/></display:column>
</display:table>

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249317

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to