aspose file tools*
The moose likes Servlets and the fly likes Download the Web page as a PDF and Image from the web site itself Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Download the Web page as a PDF and Image from the web site itself

Abhishek Rath
Ranch Hand

Joined: Nov 22, 2007
Posts: 38
Hi

We have a requirement where the user can download the web page either to a PDF or to a image file.
The web application is using struts framework to render the page in weblogic server.
Can this be possible with JAVA code.
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,
<scrubbed>
I'm not sure this is possible... ALT+Printscreen?
There is no need to post this question in 2 forums though!

Sean


I love this place!
Abhishek Rath
Ranch Hand

Joined: Nov 22, 2007
Posts: 38
Hey Dude

I don't think you get the question.
The needs to be done through code not manually through ALT + Print screen.
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

Well what is it you mean? Do you mean an image of what the website would look like?
Well I don't think you can do this without writing your own browser, as it is the browser that translates the HTML into what you see on the screen.

Sean
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60998
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: Download the Web page as a PDF and Image from the web site itself