Hi,

    We use amazon web store application.

The domain name is store.mydomain.com, the ip is 1.2.3.4;  I can not
upload any files to this domain.

Another domain we created is www.mydomain.com, the ip is different.
2.2.3.4. This is my own server, I can upload files to it.

And then, I need create an application by modify an specific web
page(named mystore.html) on store.mydomain.com. I can only change it
by an submit its content by TextArea Input in an form.

I choose using GWT to extend the pages function. That means:

1.  I need add <script src="http://www.mydomain.com/files/
*.nocache.js"> in mystore.html.
2.  upload all gwt comiled files to  www.mydomain.com/files/

Because the gwt js file is not belong to the same domain of
mystore.html, a access denied error invoked in my firebug error
console.

When I dig into the gwt compiled code, I found gwt it is the following
code which invokes the access denied error:

$wnd=parent, var [EMAIL PROTECTED]

"parent" refers to its parent html page.

I understand that it is because the Same Domain Constraints.

I am wondering If I could break through the access denied restrict by
upload my gwt js files to another domain,like:

   gwtjs.store.mydomain.com

The ip is same as my own server, www.mydomain.com, that is 2.2.3.4,
it's different with store.mydomain.com.

So it is the subdomain of store.mydomain.com, right? but the ip is
different, it is not the same server.

Can I use this way to access mystore.html content?

Any suggestion is welcome. Thanks in advance.

Sammi








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to