0

I want to implement functionality as below using JSP and servlet. Please give me some suggestion.

  1. user logs-in to JSP page.
  2. JSP page now runs thread that continuously take screen shot of client desktop no meter that page is display or not. (for taking screen shot client must be login to JSP page)
  3. each screen shot save to image folder on server and its path will store to DB.
TN888
  • 7,659
  • 9
  • 48
  • 84
  • Jsp works in the server side and you need to catch client desktop. I think you need to do this with js that runs in client side. – Distopic Jul 26 '13 at 08:07
  • 1
    JSP runs on server side ,how could you run it on client side ? And suppose it captures screenshot but jsp page runs in web browser. So, what you want to achieve ? – snehal Jul 26 '13 at 08:11
  • Perhaps it could explore the folder desktoop and send the list of folfer and app that contains. – Distopic Jul 26 '13 at 08:12
  • I guess js can do just a screenshot of opened page. If you need a screenshot of full screen, than, I guess, you have to use applet or activex. – corsair Jul 26 '13 at 08:17

1 Answers1

1
  1. Create a java applet that makes screenshots and saves image files to a temporary folder. Embed this applet into your JSP page.

  2. Use AJAX-calls on your JSP-page to grab these image files from local temporary folder and upload them to the server via POST-requests.

Community
  • 1
  • 1