Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Capture Client Screen using Robot

 
Prabu Mohan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I run a jsp / servlet application in a webserver. My doubt is, Is there any way to
capture screen shot
of every client using robot class?.
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
welcome to Javaranch

please post your code here with error that you are getting.

please provide details of robot class

~ abhay
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe, java.awt.Robot class is for use in Desktop environmen, to automate manual tasks. If you use it in your web-application, this will interfere with the desktop screen of the server(s) (where your application is deployed) thereby becoming a menace.
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prabu Mohan wrote:I run a jsp / servlet application in a webserver. My doubt is, Is there any way to
capture screen shot
of every client using robot class?.


I should hope not, as that would be a severe violation of privacy.

Servlet code runs on, well, the server. Not on the client.
 
Prabu Mohan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:
Prabu Mohan wrote:I run a jsp / servlet application in a webserver. My doubt is, Is there any way to
capture screen shot
of every client using robot class?.


I should hope not, as that would be a severe violation of privacy.

Servlet code runs on, well, the server. Not on the client.



That is correct madhan, Thanks for your valuable comment. is there any way to capture client screen using java,J2EE Technology,
 
Madhan Sundararajan Devaki
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe, there is one complex possibility.

Write and deploy "Signed Applet", that uses java.awt.image.PixelGrabber and other classes of this package to capture the client screen and update it as a BLOB into a DB in the Server.

However, you may need to somehow get the screen image and this can be accomplished only through the java.awt.Robot class!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic