[UMN_MAPSERVER-USERS] jBox image problem

Richard Greenwood richard.greenwood at GMAIL.COM
Sat Apr 2 09:01:44 EST 2005


> On Apr 1, 2005 9:33 PM, Lluís Garcia i Mestres <lluisgm <at> gmail.com> wrote:
> > Hi,
> >
> > My own mapserver maps were working ok, and I decide to implement the
> > jBox. I followed the instructions, but any image is displayed. I've
> > j2sdk installed. The image (png) is created in tmp directory but not
> > in the browser.
> >
> > <applet
> >                   codebase="/mapserver/dades/java/jBox"
> >                   archive="jBoxPNG.jar,png.jar""
> >                   code="jBoxPNG.class"
> >                   width="500"
> >                   height="400"
> >                   name="jBox"
> >                   MAYSCRIPT>
> >               <param name="image" value="http://[host][img]">
> >             </applet>
> >
> > Even any box appears in the area where should be the image. Any
> > suggestion to figure out this?
> >
> > Lluís
> >
>
> --
> luca marletta  icq: 70590647
>

1. You have an extra quote mark at the end of the line:
    archive="jBoxPNG.jar,png.jar""
2. You do not need to use jBoxPNG with the Sun Java VM, so try with just:
    archive="jBox.jar"
    code="jBox.class"
3. Is jBox.jar in /mapserver/dades/java/jBox ?
4. Is your browser reporting any errors?

Rich



More information about the mapserver-users mailing list