I have just started developing applets. I want to be able to pass (JSON) data from a javascript function, to a method in my applet.
Although I have searched, I cannot find a suitable example that shows how to do this. Can someone please either show a link to a resource that shows how to do that, or paste a few lines in here to show how to do that.
Also, I have the ff questions:
- is there a limit to the size of JSON string that can be passed from JSON to the applet? (if yes - what is it?)
- Is it possible to compress (zip) a long string before passing it from JSON to the applet?