I have a jsp page with a table in it. The rows and columns contain external links which open in a new window and the table formatting is done using CSS. I want to use the table in a powerpoint slide. I am unable to save the table as an image, from the jsp page, as it is saved as .html and the cell borders and other formatting is lost. Any suggestions on how to go around this.
Thanks for the reply. A screen capture has a lot of information which is unwanted for in a ppt presentation. There are ways to convert jsp content into pdf using some tools. I was wondering if there is a similar way to work with ppt.
Originally posted by sridhar anna: Thanks for the reply. A screen capture has a lot of information which is unwanted for in a ppt presentation.
What kind of unwanted information are you talking about? It's just an image. Crop out only the table from the image and you are left with, well, an image of the table, just like you want. Seriously, what are you talking about?
My apologies for the confusion. I just meant that on a screen shot there is banner, navigation, open windows, browser etc. I can crop out the table, but I am looking for a better way where I donot need to crop the image. I would like to export the image from the jsp page directly into ppt.
An example: If I had some text on a jsp page and I wanted that text as a word document, I would like to click on a link to open/view that text as a word document, rather than copy-paste the text and make a word document.
I would like to view the image/table in ppt without the screenshot. Let me know if you have any suggestions.
I have jsp page with a table in it. The table is formatted using CSS. I want to save the table on my desktop as an image. Are there any java classes or API that could be used? or can the jsp page be converted to xml, and parsed as an image? Are there any tools available?
I donot want to take screenshot and crop image. I want to write some code so that an image is generated by clicking on a link on the jsp page.
There is no way that I know of to take a screen grab of a page once it has been sent to the browser.
One thing you might consider is to use a servlet filter and response wrapper to "grap" the HTML page just before it is sent to the browser. Then you could parse the HTML and perhaps create a PDF of the page.
Is your table generated dynamically or is the HTML hard-coded? If it's dynamic, you could add a hidden field on your JSP that contains the XML equivalent of your table and then do an XSL transform on it to convert to Word or PDF or whatever. Tedious, time-consuming and tiring, but it works...
Use Alt + print screen and make sure u have focus on the table it won't capture other minimized windows and other stuff..just get things with focus and capture the image
SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop