Excel file download in Struts2 using apache POI

Here I am explaining how to export data from action to xml file.
For that we are using apache poi
We have included following jar files in lib folder

In struts.xml

In jsp