transfer output to excel

I have a intranet based web application in JSP deployed on tomcat. i want that when the user clicks on a particular link the output of that jsp page should be displayed to the user in a excel file.
is it possible to do this?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

<%@ page contentType="application/" %>
on the top of ur JSP page transfers the whole output of the JSP page to an excel file.
On the downside it does not offer u any flexibility in manipulating the contents of the excel sheet.

if u want control over the data then

is a good option.
betty_123Author Commented:
thanks. it works great.
contentType would be sufficient for me.
i don't need control over the data.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.