Hello,

I'm trying to set up an application using Tomcat and a Restlet server. When I
load  the map page I get a mbDoLoad is not defined error. I thought that the
path to the  Mapbuilder.js file could be wrong so I changed it to an absolute
one. Here's the html file, which lies in the istadt folder appearing in the
value of the src attribute in the first script element.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; >
  <head>
    <title>The Map</title>
    <script type="text/javascript"
src="C:\apache-tomcat-6.0.13\webapps\istadt\mapbuilder\lib\Mapbuilder.js">
</script>
    <script>
    var mbConfigUrl = "config.xml";
    </script>
  </head>
  <body onload="mbDoLoad()" >
    <h1 id = "mainBar">Schoen, dass du vorbeischaust!</h1>
        <div id="mainMapPane">
          <noscript>
            this page requires Javascript to be enabled
          </noscript>
        </div>
        <div id="legend" />
  </body>
</html>

Thank you!


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to