Solved

transfer output to excel

Posted on 2004-10-01
4
198 Views
Last Modified: 2010-04-01
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?
0
Comment
Question by:betty_123
  • 3
4 Comments
 
LVL 8

Accepted Solution

by:
thomas908 earned 500 total points
ID: 12198723
0
 
LVL 8

Expert Comment

by:thomas908
ID: 12198731
Writing
<%@ page contentType="application/vnd.ms-excel" %>
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.

0
 
LVL 8

Expert Comment

by:thomas908
ID: 12198734
if u want control over the data then

http://jakarta.apache.org/poi/

is a good option.
0
 

Author Comment

by:betty_123
ID: 12198752
thanks. it works great.
contentType would be sufficient for me.
i don't need control over the data.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Hyena v12.2 is now available for downloading and is available in English, French, German and Spanish versions.
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now