[Dojo-interest] Dojo from static server
jburke at dojotoolkit.org
Wed Feb 14 21:30:08 MST 2007
On 2/14/07, cary ho <caryho at hotmail.com> wrote:
> I have a jsp page that was using dojo fine.
> it worked fine until all the stuff went to a static server.
> Now i get an error that says:
> symbol 'dojo.widget' is not defined after loading '__package__.js'
> Anyone have any clue whats going on? The dojo.js script is in the webpage
> when I view the source in a browser.
Unless your page is also being served from localhost:81, this is not
allowed by the browser security module, since in normal Dojo builds,
modules like dojo.widget are loaded using XMLHttpRequests and those
can only be made to the same domain and port as the page.
More information about the Dojo-interest