I'm using a similar setup: Apache with an AJP connector to link the J2EE application on Tomcat.<br><br>At the beginning I used kaMap in an iframe, but this way limits the interaction between the jsp and the map. Now I'm using kaMap in a simple <div>.
<br><br>To do that I had to do some small patch in kaMap to support the J2EE application and kaMap with different context URL (but on the same server).<br>I extended the use of kaMap.server property.<br><br>I use few kaMap tools: the query, the pan, the scalebar and the zoomer (with some patch).
<br><br>I think the kaMap code should be cleened up to setup such a web tree:<br><br> server_root/kamap/...<br>
server_root/application1/pageWithKaMapReference.html<br>
server_root/application2/pageWithKaMapReference.html<br><br><br>
<br><br><div><span class="gmail_quote">2006/5/31, Denis Frolov <<a href="mailto:den@demax.ru">den@demax.ru</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a similar setup and use apache mod_rewrite proxy of all the requests<br>to /ka-map/ to another box running MapServer/php/ka-map:<br><br>RewriteRule /ka-map/(.*) <a href="http://test.demax.ru/ka-map/$1">http://test.demax.ru/ka-map/$1
</a> [P]<br><br>I also use patch from this url:<br><a href="http://bugzilla.maptools.org/show_bug.cgi?id=1450">http://bugzilla.maptools.org/show_bug.cgi?id=1450</a> and have absolute urls to<br>ka-map files everywhere.<br>
<br>on 5/31/06 1:24 AM, Scott Knutti at <a href="mailto:sknutti@sanz.com">sknutti@sanz.com</a> wrote:<br><br>> Hello all!<br>><br>> Looking for advice on an application layout... We are trying to<br>> integrate ka-map into a Java/JSF application. We have a seperate server
<br>> that is running MapServer and holds all of the data. The application<br>> runs on another box. We have tried putting an iframe that resides on<br>> the MapServer machine in the app on the other box and ran into the
<br>> UniversalBrowseRead problem. So we have move the ka-map client onto the<br>> application server. Now that it is not on the MapServer box, can I<br>> simply modify the config.php file to point to the mapfile on the
<br>> MapServer box? What is the best way to layout an application like this?<br>><br>> Thanks,<br>> Scott<br>> _______________________________________________<br>> ka-Map-users mailing list<br>> <a href="mailto:ka-Map-users@lists.maptools.org">
ka-Map-users@lists.maptools.org</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>><br>><br><br><br>---<br>Denis Frolov<br>Media Agency Design Maximum
<br><br>Tel: +7 863 2648211<br>Fax: +7 863 2645229<br>Web: <a href="http://www.designmaximum.com">http://www.designmaximum.com</a><br><br><br><br>_______________________________________________<br>ka-Map-users mailing list
<br><a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
</blockquote></div><br>