Can i use HSSF code inside my JSP? I have a JSP page which fetches data fom database(using servlet) and displays as HTML
table in the same JSP page itself.
Now i want to save this table as Excel by clicking a button.Can i include HSSF code in JSP itself may b in a function which gets called wen i click that button.
Please hepl me out.
You can use HSSF with JSP. See the following link on creating xls files using POI
After creating the xls file give the URL of the xls as the href for an anchor tag.