[mapserver-users] JSObject in applet
Cameron Shorter
cameron at socialchange.net.au
Fri Jun 8 05:18:47 PDT 2001
I did some research on this some time back.
No you cannot drop a "patch" class into old browsers.
The problem is java cannot talk to javascript in these imcompatable
broswers.
A very messy hack you can do is get java applet to open up a new window,
which triggers a javascript call back to original window's javascript.
We decided to just put a message "please upgrade your browser" instead.
Michael Hearne wrote:
>
> I've just been testing a MapServer app, using Steve's mapimage applet,
> on some older browsers we have, and ran into this error on Internet
> Explorer 3.0:
>
> java.lang.ClassNotFoundException: netscape.javascript.JSObject
>
> I can guess _why_ it doesn't work [the "netscape" part might have
> something to do with it :)], but I'm curious if there is a workaround
> for older versions of IE, like including the JSObject as a jar file that
> the user downloads or something? (That would probably be a really
> horrendous solution, particularly for users w/ modem, but it's all I
> could think of.)
>
> Thanks,
>
> Mike Hearne
> --
> Michael G. Hearne email: Michael.Hearne at noaa.gov
> Coastal Remote Sensing phone: 843 740-1281
> TPMC/NOAA Coastal Services Center fax: 843 740-1312
> 2234 S. Hobson Ave., Charleston, SC 29407
--
Cameron Shorter Web Mapping Manager
Social Change Online
248 Johnson St Tel: +61 (0) 2 9692 5115
Annandale NSW 2038 Fax: +61 (0) 2 9692 5192
Sydney, Australia http://webmap.socialchange.net.au
More information about the MapServer-users
mailing list