[Mapserver-users] class jBox not found

Gilles Sodatonou gillessod at yahoo.de
Fri Dec 12 04:15:40 EST 2003


Hello everyone,

I'm a novice user and have some problems while running
the jBox applet with the itasca Demo. The IE always
shows this error message: "load: class jBox not
found". I may have some problems with the Path
(codebase="/java/jBox") in the applet definition.
Changing the path or copying the class files in
another directories didn't help.

The .class files(jBox.class, evalThread.class) are in
the subdirectory "Apache2/htdocs/java/jBox/" and the
"itasca" directory in "Apache2/htdocs/".

Following the jBox-Howto, I changed the template file
"/itasca/demo.html":

...
<SCRIPT LANGUAGE="JavaScript">
	function setbox_handler(name, minx, miny, maxx, maxy,
redraw) {
		document.mapserv.imgbox.value = minx + " " + miny +
" " 		+ maxx + " " + maxy;
		document.mapserv.imgxy.value = minx + " " + miny;
	}
	function seterror_handler(message) {
		alert(message);
	}
</SCRIPT>
...
<form name="mapserv" method=GET action="[program]">
...
<applet codebase="/java/jBox" code="jBox.class"
width="600" 	height="600" name="jBox" MAYSCRIPT>
	<param name="image" value="http://[host][img]">
</applet>
...
<input type="hidden" name="imgbox" value="-1 -1 -1
-1">
...

Can anyone help ???
Thanks in advance,

Gilles Sodatonou

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de



More information about the mapserver-users mailing list