Use export.export name.filename

http://displaytag.sourceforge.net/11/configuration.html

ex) export.csv.filename=myfile.csv
ex) export.pdf.filename=myfile.pdf



"SourceForge.net" <[EMAIL PROTECTED]> wrote:

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

I am using Struts 1.2.7 & Tiles on Tomcat 5.5.9. I need to be able to export
to CSV, Excel & PDF formats.

When I try to download it to CSV format, it prompts me to Open or Save and the
filename is showing as XXXXXX.do . If I try to open it, it does not work since
it does not recognize the file type (.do - this is my Struts action class).
If I save it explicitly as csv and then open it, it works fine. Same thing with
PDF.
The Excel export works fine and so does the XML.

How can I fix this?

______________________________________________________________________
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=249318

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to