This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 60041
    
  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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Download the Web page as a PDF and Image from the web site itself
 
Similar Threads
MVC Architecture
validate a page that contains STRUTS tags in JavaScript
Cleared SCDJWS exam with 81%
Download the Web page as a PDF and Image from the web site itself
Encoding problem in converting PDF to Image using PDFImageWriter