Using Java in javascript does not work in IE

I am trying to use java.lang.String inside my javascript file. But this does not work in IE.

Is there a way around IE.

This is what I am trying to do.

var byteArray = (new java.lang.String("asdf")).getBytes();
+3
source share
2 answers

Unlike Firefox, Internet Explorer cannot interact with Java.

+5
source

Unlike Firefox; IE does not have direct access to Java libraries, and it would be a little crazy: 1.) to assume that Java is installed 2.) to use Java libraries on the client side script.

+1
source

Source: https://habr.com/ru/post/1780043/


All Articles