Hi,
You can modify displaytag.properties as follow :
export.csv.filename=myfile.csv
export.excel.filename=myfile.xls
export.xml.filename=myfile.xml
export.pdf.filename=myfile.pdf
It should work.
David.
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Elam
Daly
Sent: lundi 18 août 2008 16:52
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] Export File Extensions
Hi All,
Is there a way to specify a file extension when exporting table data?
PDF works okay, but Excel and csv export use a jsp file extension, thus
causing the user to have to pick the application to open the file with.
Thanks,
- Elam Daly
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user