Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have an application build in JSP technology. I want to Capture the screen and return an image file on the server. Basically i want to capture the screen in web based application.

Thanks
Posted

1 solution

That is a somewhat strange idea when keeping in mind that the page on the client is the result of what the server produced in the first place.

Putting that aside you could traverse the complete page (document) and put all elements (including the attribute values) into one giant string value and send it back to the server. You would be able to recreate the current state of the webpage in a browser component server side. Browser compatibility aside this would give you a representation of what the client is viewing at that moment.

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900