Hi All,

I would like to allow a particular set of other domains to access my
GWT application (running on Google App Engine).  Is this possible with
GWT and how to do it?

For example:

Let's say I have the StockWatcher application from the tutorial
running on http://stockwatcher.appspot.com.  Part of the page
StockWatcher.html are the lines

<link type="text/css" rel="stylesheet" href="StockWatcher.css">
...
<script type="text/javascript" language="javascript" src="stockwatcher/
stockwatcher.nocache.js"></script>

The application is run as http://stockwatcher.appspot.com/StockWatcher.html
and everything works fine.

Now let's say I want to also allow example.com to run my StockWatcher
application.  I tell them to make a copy of StockWatcher.html in their
root directory and change the lines above to

<link type="text/css" rel="stylesheet" href="http://
stockwatcher.appspot.com/StockWatcher.css">
...
<script type="text/javascript" language="javascript" src="http://
stockwatcher.appspot.com/stockwatcher/stockwatcher.nocache.js"></
script>

The application is run as http://www.example.com/StockWatcher.html
and, ideally, everything works fine.

I tried a scenario similar to this but when I viewed
http://www.example.com/StockWatcher.html I didn't see the StockWatcher
application and no errors were reported.  When I view the source of
the page everything looks fine to me.

My questions are:

1. Is this kind of application deployment possible in GWT?
2. If so, how would you go about doing it?  I'm a developer new to GWT
so I just need a kick in the right direction.
3. How would you get the example.com domain to check it against a
whitelist of allowed domains in the GWT application?

Thanks for your time,
Everett

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