Exporting contents of JSP to Powerpoint

J

judiphuongtu

I am trying to open the results of my JSP page in PowerPoint. I've
tried both the following statements but it won't open in PowerPoint. I
would like a simple example of a JSP page would open in PowerPoint..
Excel would be fine too. Thanks in advance.

<%@ page contentType="application/ms-powerpoint" %>

response.setContentType("application/ms-powerpoint");

-jptu
 
J

judiphuongtu

Thanks Wendy. It opened in PowerPoint. Unfortunately, only the text
values displayed, not the images and graphs :(
 
W

Wendy S

Thanks Wendy. It opened in PowerPoint. Unfortunately, only the text
values displayed, not the images and graphs :(

When a web browser displays a page, it receives the HTML and then makes a
separate report for each image. Apparently, PowerPoint will load HTML, but
won't go so far as to request the images.

What problem are you trying to solve with this? There might be a better
solution...
 
J

judiphuongtu

My webpage generates graphs with table data. Users want to use
snapshots of these graphs in their PowerPoint presentations. The
graphs are PNG images. The current solution is to have them save the
graph in their local drive and use Insert, Picture from PowerPoint and
also select the table data and paste it in PowerPoint. I thought
perhaps I could find a way to automate it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top