Click here to get back home

To any mapxtreme/java experts..

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
To any mapxtreme/java experts.. JimmyHoffa 12-14-2006
Posted by JimmyHoffa on December 14, 2006, 12:23 pm
Please log in for more thread options
Hi,

I have created an applet, and have been testing it within my IDE,
netbeans.. all was well.

Now i'm trsting the applet from a web page and get a
"accesscontrolexception" so the map(using visualMapJ) is never shown.

The full exception line is AccessControlException: access denied
(java.io.FilePermission C:\maps\ForWEB\UAE\Streets\AE_Streets_1.tab

Now what i'm confused about is if its a security issue why is my applet
trying to access the TAB file on my C drive in the first place !?. I
thought it was the mapxtreme servlets job...

I have visualMapJ set to do remote rendering using ..
RendererParams rParams = new RendererParams();
rParams.setURL(mxUrl);
m_visualMapJ.setRendererParams(rParams);

Where mxURL is /mapxtreme480 etcetc...

I am loading an MDF into the visualMapJ object via a URL.

However I am confused because the MDF itself contains references to
local .TAB files..

I was under the impression that the MDF is loaded by the mapxtreme
servlet, So it would be the servlet analysing the MDF and looking the
.TAB files on its own local drive.

Any advice appreciated...


Similar ThreadsPosted
REQ FOR GIS EXPERTS IN IL April 14, 2006, 8:19 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap