The easiest way to develop with PHP that I've found is to use -noserver and -port to point to a lightweight web server with the document root set to your war directory. I use Abyss, but anything would work. That way, you keep everything in the project structure, don't have to use any workarounds, and you can just deploy the whole war structure when
Ian http://examples.roughian.com 2009/10/13 Sripathi Krishnan <[email protected]> > Yes, UI must talk to the same server. > > There are a few workarounds. You can use hidden iFrames or other techniques > to load data from a different server. Or you can setup a proxy server. Or > you can use flash to handle the communication for you. Just google up "Same > Origin Policy Workarounds" -- you are likely to get a lot of advice. > > > --Sri > > > 2009/10/13 tedpottel <[email protected]> > > >> Hi, >> >> I am writing a program using gwt for the ui and PHP for tbhe back >> end. I use the RequestBuilder to communicate with the back end. >> >> At first I had a simple text file to see if the RequestBuilder would >> worked, worked fine. I then change the url to point to my Apache >> webserver so I could test the PHP file. The GWT no longer worked and >> a RequestException went off. >> >> Is this because the UI must be talking to the same server? Is there a >> work around for this???? >> >> Ted >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
