1

I am developing a Java/J2EE application, and I want to upload a file to my server with the client clipboard content.

I developed a Java applet but I have an access denied failure to get the client clipboard. Does anybody have any ideas that can help me? Any OCX plugins that could resolve the problem?

Thank you.

Reporter
  • 3,897
  • 5
  • 33
  • 47
Dali_BM
  • 11
  • 1

2 Answers2

1

There is very limited JavaScript code (= non crossbrowser) and either with AJAX or with an applet (JS can pass the string to the applet) you may receive the text.

Community
  • 1
  • 1
Joop Eggen
  • 107,315
  • 7
  • 83
  • 138
  • Thank you for your response, my problem is not how to pass information from applet to server. but how can i retrieve the image clibboard. applet dose'nt work, and i want using a java code. – Dali_BM Sep 12 '14 at 15:19
0

thank you Joop, follow to your poste i found this link that describe, how we can get image clipboard with javascript code: Pasting image from clipboard

Dali_BM
  • 11
  • 1