[mapserver-users] JSObject in applet

Stephen Lime steve.lime at dnr.state.mn.us
Thu May 31 08:14:17 PDT 2001


IE 5 as shipped has a brain-dead JRE. You can download a newer version from Microsoft
that works with LiveConnect just fine.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Speh Sylvain <sylvain.speh at CLERMONT.cemagref.fr> 05/31/01 03:04AM >>>
Hi,

1)
I sent a mail the 19th of April, because we couldn't run straightly the
fifth example on our IE5/Apache system (IE5 doesn't cope with the Netscape
libraries too ? ;-)) ). The JSObject is effectively provided with Netscape
in it's java40.jar ( 1848k or so ) file.
It's also in the jdk, in the jaws.jar file, but I had problems with the jdk
1.3 release of it.

2)
I've heard (I don't use, so I'm not sure of that) that ArcView could
generate some mapfile ( with UNIX line separators and slashes ;-() ),
javascript and Java classes and files. I've some such files, so can I tell
you that, if you'll use them, you'll have to cope with the
netscape.javascript package with Java, or with the java40 jarfile.

For my own, I gave up a fortnight ago, but I will have to make it run as
soon as possible.

-----Message d'origine-----
De : Michael Hearne [mailto:Michael.Hearne at noaa.gov] 
Envoyé : mercredi 30 mai 2001 19:45
À : mapserver-users at lists.gis.umn.edu 
Objet : [mapserver-users] JSObject in applet


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






More information about the MapServer-users mailing list