Made servlet send keystrokes