Hi guys...
I am new in GWT programming.
I have a problem when research GWT technology for my next development.

I have a GWT project on my eclipse on this folder structure:
======================================
[ - ] T-Shop
    [ - ] src
        [ - ] shop
             [ - ] public
                 [ + ] gwt
                        clear.cache.gif
                        history.html
                        hosted.html
                        random.php
                        Shop.css
                        Shop.html
                        shop.Shop.nocache.js
                   Shop.gwt.xml
        [ + ] shop.client
=====================================

Shop.html is the container.
random.php is a php script that return random integer each time is invoked.
My GWT application is simply contain a button that every time is 
clicked, request GET to random.php
using RequestBuilder and when callback, show the response text.

I create alias in my apache server to the public folder above.
e.g. http://localhost/tshop/random.php

GWTShell arguments simply like this :
-noserver -port 80 /tshop/Shop.html

Using this configuration, every time I run the GWT on hosted mode,
it will pass the SOP.
But it will return the same random number each time the button is clicked.

I try to access random.php from other browser(let say chrome),
and every time it is invoked, it will print different random number.
Nothing wrong with my random.php

Any idea what is the problem.
And what is the best development environment configuration to build GWT 
app with php as the server script.


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