Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
###@###.### 2004-05-27 J2SE Version (please include all output from java -version flag): java version "1.5.0-beta2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b50) Java HotSpot(TM) Client VM (build 1.5.0-beta2-b50, mixed mode) Does this problem occur on J2SE 1.3, 1.4 or 1.4.1? Yes / No (pick one) Works fine with 1.4.1/IE 5.5 & 1.5/Mozilla only has this problem with 1.5/IE 5.5 Operating System Configuration Information (be specific): Windows 2000 SP4 with IE 5.5, IE 6.0 Bug Description: String values are not returned properly from a Java applet to JavaScript. Try to call a native CAPI cert selection dialog if customer is deploying Entrust Truepass for Microsfot CAPI based/ Smart Card based login/authentication. This is specific to using IE with Sun 1.5 JVM. Using 1.4.1 with IE, or Mozilla with Sun 1.5 does not exhibit this problem Example: JavaScript (calls an applet API method): var fileName = null; fileName = entrustApplet.selectCertificateName(); Java (applet API method called by JavaScript): public static String selectCertificateName() throws IOException { String name = native_selectCertificateName(); return name; } Based on our debugging, the value of the filename variable is correct. However once the call returns to JavaScript the value is invalid. That is, it is not null, it does not appear to be a string, and it is not undefined. It does not even appear to be a JavaScript object. Example return string: "D9D25089C9BC61C0F3BE7A8F2B62C4117D5F5AE1 pki70 test20's Entrust verification certificate".
|