After the changing of the path, remember to set the mbConfigUrl before
loading Mapbuilder.js.

Luca Giandoso

On Tue, 2008-05-13 at 10:25 +0200, Andreas Hocevar wrote:
> Thomas wrote:
> > 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">
> >   
> 
> This has to be a web accessible path, not a file system path. Which 
> would probably be /mapbuilder/lib/Mapbuilder.js in your case.
> 
> Regards,
> Andreas.
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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