The moose likes HTML, CSS and JavaScript and the fly likes Use of Java packages in JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Use of Java packages in JavaScript" Watch "Use of Java packages in JavaScript" New topic
Author

Use of Java packages in JavaScript

Raghav Sam
Ranch Hand

Joined: Apr 12, 2001
Posts: 412
We have a browser-based application in which Java packages are used in JavaScript. This works perfectly in Netscape(4.7x).
Example:
var elm = java.math.BigDecimal(1000000000000).(some function call).
However now we have to run the application in IE (6.0). IE does not recognise the package call.
Is there any workaround for this? There are more than 500 places where this is used(lot of rework).
This is urgent and any suggestions are more than welcome.
[ May 20, 2003: Message edited by: Raghav Sam ]

Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.<br />- Dr. Seuss
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Read this
http://www.coderanch.com/t/113648/HTML-JavaScript/set-applet-ID-your-html
Also there are programs that can replace code on multiple pages so it will not be so hard of a conversion..
Eric
Raghav Sam
Ranch Hand

Joined: Apr 12, 2001
Posts: 412
Originally posted by Eric Pascarello:
Read this
http://www.coderanch.com/t/113648/HTML-JavaScript/set-applet-ID-your-html
Also there are programs that can replace code on multiple pages so it will not be so hard of a conversion..
Eric


Eric,
I cudnt figure out how to do it. Can you provide with some examples?
TIA
 
 
subject: Use of Java packages in JavaScript
 
Threads others viewed
Calling WebService using plain JavaScript
JWS - A Good Way To Demo Apps
Javascript working with IE7, will work with IE8 without any issue?
accessing remote file on unix from front end jsp
Calling Java Method from java Script using IE.5(Urgent)
developer file tools