I have a JSP page, its content is about a table of data and I want to export that content into an excel spread sheet. Can anyone, give me some ideas on how to accomplish that.
A number of libraries are available that can create CSV or XLS files; see this page for links. Unless you have advanced needs, creating a CSV is probably the fastest way to get it done.