File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes help me Xsl in struts2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "help me Xsl in struts2?" Watch "help me Xsl in struts2?" New topic
Author

help me Xsl in struts2?

hung kin
Greenhorn

Joined: Nov 18, 2008
Posts: 6
I user Struts2 but not Exporting data from table in JSP to excel or CSV? help me...
thanks......very..thanksss!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There is no built-in support for exporting to Excel.

It's easy to create a CSV response by using, for example, the FreeMarker result, which also allows setting of the content type in the result configuration. You could also do the same thing in a JSP result by using a scriptlet to set the content type.

You could also use any of several MS-Office libraries to create an actual Excel file (like Poi for example).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help me Xsl in struts2?