Forums Register Login

create a CSV file which can be downloaded

+Pie Number of slices to send: Send
Hi

I have requirement where a CSV file needs to created and opened up in new window to be downloaded.
I using CSVPrinter to create the file.
Please help me on how to make the portlet show the file in anew window.

Thanks
+Pie Number of slices to send: Send
You could probably just set the mime type to CSV or XLS, and when the client clicks on the link, they get the file. Would probably be even easier if the file was saved to a web server, and a non-portal link was provided to the resource. Portal links always get so messed up.

-Cameron McKenzie
When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1094 times.
Similar Threads
Export the multilanguage (Estonian , Lithunain, Latvian)data to CSV file using Outputstreamwriter
UTF date formatting
Writing csv files
need a help
Formatting CSV Files using java??
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:01:24.