| Author |
Struts 2 action - writing into excel spread sheet
|
Bharath Sundar
Greenhorn
Joined: Feb 19, 2009
Posts: 13
|
|
Hello,
In a struts 2 action, i need to generate a spread sheet. So guide me to generate a report in the spread sheet with the action class in struts 2. Please provide me with some examples or links.
Thanks in advance.
Regards,
Bharath.S
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8259
|
|
Our FAQ, AccessingFileFormats has your options as far as interfacing with Excel are concerned. I usually generate a CSV file since it is much easier to work with compared to XLS. Unfortunately, it doesn't support formatting or formulas.
Once you create the file, you can send it to the client with StreamResult.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Struts 2 action - writing into excel spread sheet
|
|
|