[Mapserver-users] load class: jBox not found

Richard Greenwood rich at greenwoodmap.com
Tue Jun 29 18:42:04 EDT 2004


Michael Smith wrote:

> Does anyone know what causes this error message.  I have jBox installed on
> Win2000 and it was running.  Not sure what I did to cause this.  I have a
> folder on the C:\inetpub\wwwroot\java\jBox that contains the jbox.class.
> When I run Mapserver everythings seems to be working and images of the maps
> are being put into my tmp folder but only grey area is displayed.  Thanks
> for any input.

Check your CODEBASE attribute. It can be a full URL, or (more commonly) 
just the path from the root of your server. In your case, it should be:
    codebase='/java/jBox'

For example:

<applet codebase='/java/jBox'
         code='jBox.class'
         archive='jBox.jar'
         width=[mapwidth]
         height=[mapheight]
         name='jBox' MAYSCRIPT>
     <param name='image' value='http://[host][img]'>
     <param name='drag' value=[DRAG]>
     <param name='box' value=[BOX]>
     <param name='verbose' value='false'>
     <param name='thickness' value='2'>
</applet>

-- 
Richard Greenwood
www.greenwoodmap.com



More information about the mapserver-users mailing list