on 03-08-2011 1:36 AM
Hello,
I have a requirement to download data present in a JSP to a CSV.
Any leads will be appreciated.
- Regards,
Sudeep
Edited
Edited by: alessandro spadoni on Mar 23, 2011 10:16 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sundeep,
What you mean? Do youn need to catch the content of the jsp on a CSV?
Please remember to evaluate the replays, this incentive the SDN to keep growing,
regards,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I used java.io.FileWriter class to enter data into a file.
Next create a byte array from the file.
Using the HttpServletResponse, the byte array is provided to user for download
Refer my SDN article on this topic for detailed steps:
- Sudeep
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.