[mapserver-users] Mapplet

Brian Fischer bfischer at mpls.houstoneng.com
Thu Oct 10 09:51:02 PDT 2002


The problem is your temp image directory probably is located somewhere
else on your server.  Try putting the whole URL to the temp image.

Ex.) <param name='image'
value='http://www.rrbdin.org/tools/mapserv35/temp_mapserv/[img]'>

Or this should work also

<param name='image'
value='http://[host]/tools/mapserv35/temp_mapserv/[img]'>


Hope this helps,
Brian
-----Original Message-----
From: Till Adams [mailto:adams at terrestris.de] 
Sent: Sunday, November 10, 2002 10:50 AM
To: mapserverlist
Subject: [mapserver-users] Mapplet

Dear listers!

I'm trying to run the JS Mapplet in my application (- I know it worked 
before I got this new machine).
The problem:
I'm sure the mapplet and mapserver is working properly, because the 
tmp-image files are written and there is no error message for the 
javascript -- and: I can drag a zoombox and my overview map shows exact 
the cut-out I've choosen. Only the map isn't displayed ... Mapserver 
doesn't find and display the temp-image, as it does without the mapplet.

I'm sure the fault is somewhere around the
   <param name="image" value="http://[host][img]">
as said in the "mapplet.HowTo" definition.

Here is my state-of-the-art:

     <applet codebase="/java/mapplet" code="mapplet.class" width="600" 
height="400" name="mapplet" MAYSCRIPT>
     <param name="image" value="http://smart/[img]">
     </applet>

I tried almost everything I can imagine - maybe I just can't see 
something obvious - any help would be appreciated!!
  -- thanks in advance!!

Cheers,
Till

-- -- -- terrestris jetzt online! www.terrestris.de -- -- --

-----

Dipl. Geogr. Till Adams
terrestris, Paulsen&Adams GbR
Meckenheimer Allee 166 * 53115 Bonn
Tel.: 0228 73 9647 * Fax.: 0228 73 6538
info at terrestris.de * www.terrestris.de




More information about the MapServer-users mailing list