[Mapserver-users] jBox

Michael Smith msmith at sanangelompo.org
Wed Jan 21 14:57:37 EST 2004


Just as I got your email I did notice as I moved my cursor over the applet
window it did give me and error message:

*************
exception: com.ms.security.SecurityExceptionEx[jBox.init]: Unable to check
hostname "192.168.110.1http". 
*************

192.168.110.1 is my IIS webserver ip.



-----Original Message-----
From: Wim Blanken (PI) [mailto:wim.blanken at planet.nl] 
Sent: Wednesday, January 21, 2004 1:50 PM
To: Michael Smith
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] jBox

Hello Micheal,

Is the statusbar mentioning that it cannot find the class files? if you move
the mousepointer on the applet frame.

Wim Blanken

----- Original Message -----
From: "Michael Smith" <msmith at sanangelompo.org>
To: "'Richard Greenwood'" <rich at greenwoodmap.com>
Cc: <mapserver-users at lists.gis.umn.edu>; "'Steve Lime'"
<steve.lime at dnr.state.mn.us>; "'Wim Blanken (PI)'" <wim.blanken at planet.nl>
Sent: Wednesday, January 21, 2004 8:41 PM
Subject: RE: [Mapserver-users] jBox


> I forgot to mention that I am creating gif images.
>
> -----Original Message-----
> From: Richard Greenwood [mailto:rich at greenwoodmap.com]
> Sent: Wednesday, January 21, 2004 12:50 PM
> To: Michael Smith; mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] jBox
>
> Michael Smith wrote:
>
> > I have jBox installed on windows 2000 IIS 5.  I followed (I think) 
> > the instructions on installing.  Created wwwroot/java/jBox/ folder 
> > and copied evalThread.class, jBox.java, and jBox.class to that
directory.
>
> You don't need to put jBox.java in there, that's the source code, but
that's
> not your problem either.
>
> What type of image are you creating: gif, jpeg, png... ?
>
> What browser are you using? Have you checked that it works with Java 
> (a
Java
> VM is installed and Java is enabled in your browser)? You can test it 
> at http://www2.tetonwyo.org/mapserver
>
> Are you getting any error messages?
>
> View your page source in your browser and make sure the substitutions 
> are correct in:  <param name="image" value="http://[host][img]"> (you 
> should
not
> see the square brakets and you should have a valid, accessible path to 
> an image.
>
> Rich
>
> > modifications to my html file and everthing seems to work other than 
> > I am getting a "gray box" where my map used to be.  Does anyone have 
> > any ideas what I may have missed?
> >
> > Inserted in head of 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>
> >
> >
> >
> > Inserted this into the body of the html:
> >           <tr>
> >           <td colspan="2">
> >             <applet codebase="/java/jBox" code="jBox.class" width="600"
> >                height="600" name="jBox" MAYSCRIPT>
> >               <param name="image" value="http://[host][img]">
> >             </applet>
> >           </td>
> >         </tr>
> >
> > AND
> >
> > <input type="hidden" name="imgbox" value="-1 -1 -1 -1">
> >
> >
> > Michael Smith, Planner II
> > City of San Angelo
> > Planning & Development
> > 325.657.4210 Fax: 325.481.2648
> > Email: msmith at sanangelompo.org
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
> >
>
>
> --
> Richard Greenwood
> www.greenwoodmap.com
>





More information about the mapserver-users mailing list