[mapserver-users] Maplet on windows 2000 server

Norman Vine nhv at cape.com
Tue Sep 24 12:36:29 EDT 2002


Giri Palanisamy writes:
>
>   I am trying to run the maplet applet demo on Windows 2000 server.
>
> when I tried to run the demo, I am getting black box instead of the image
> (the image is not loading). I checked the tmp file permission, it is

> I changed the demo.html file as follows:
 < snip >
> and added the applet code
>
>   <applet codebase="C:\Inetpub\wwwroot\java\mapplet" code="mapplet.class"
> code="mapplet.class" width="600" >
>      <param name="image" value="http://localhost[img]">   //this one
> returns http://localhost/tmp/DEMO10328809432292.gif
>      <param name="jitter" value="10">
>      <param name="thickness" value="2">
>   </applet>

Try
    <applet codebase="/java/mapplet" code="mapplet.class"
                width="600" height="600" name="mapplet" MAYSCRIPT>
               <param name="jitter" value="10">
               <param name="thickness" value="2">
               <param name="cursorsize" value="10">
<!--               <param name="verbose" value="on"> -->
<!--               <param name="color" value="yellow"> -->
               <param name="image" value="http://[host][img]">
            </applet>

HTH

Norman





More information about the mapserver-users mailing list