I need to have a servlet that will do a Print Screen of the server machine. Here is the code that I am using:
import java.awt.*;
//----------
int printScreenKey = KeyEvent.VK_PRINTSCREEN;
RobotInterface r = new RobotInterface();
r.keyPress(printScreenKey);
If I run this from a DOS prompt from the server, it does a Print Screen. However when I run it from a servlet, it does not. Any ideas why???
Thanks!
import java.awt.*;
//----------
int printScreenKey = KeyEvent.VK_PRINTSCREEN;
RobotInterface r = new RobotInterface();
r.keyPress(printScreenKey);
If I run this from a DOS prompt from the server, it does a Print Screen. However when I run it from a servlet, it does not. Any ideas why???
Thanks!