You can also try this: http://code.google.com/intl/pl-PL/webtoolkit/doc/1.6/FAQ_Server.html#How_can_I_dynamically_fetch_JSON_feeds_from_other_web_domains?
On 4 Lis, 17:16, Ian Bambury <ianbamb...@gmail.com> wrote: > OK. > > The way I do it is like this: > > In the program arguments you need > > -noserver -port 1080 > > if you don't put the port, it will default to 80 > > in my launch file for my 1.7 minimum app I have > > <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" > value="-noserver -port 80 -startupUrl index.html > com.roughian.appmin_1_7.Module"/> > > but however you run it, you need those arguments. > > You also need a local web server. I use Abyss (since Apache seemed like > overkill) and set it up so that the document root was pointing to the /war/ > directory of my project and the port it was using was 1080, and it was also > set up to deal with PHP, of course. > > As far as I can remember, that's all you have to do. > > The advantage of setting a port number is that you can then set up *another* > project with another port number, and another instance of Abyss which is > pointed at the new project's /war/ directory and uses the new port number. > > What is more, you can run both projects in hosted mode at the same time. > > In GWT 2.0, you can do exactly the same thing, but if you want to run more > than one project in development mode at the same time, you will also need to > add > > -portHosted 9998 > > (or some other unique hosted mode port number) > > If that doesn't make sense, or doesn't work, or you need help setting up > Abyss (if you decide to use it), let me know. > > Ian > > http://examples.roughian.com > > 2009/11/4 ben fenster <fenster....@gmail.com> > > > > > > > it will help me alot if you could alaberate on the subject :) > > > On 4 נובמבר, 16:13, Ian Bambury <ianbamb...@gmail.com> wrote: > > > Have everything in the same place if you can. > > > > Run with the -noserver option and have a local web server point to your > > war > > > directory > > > > If that's too cryptic an answer, just shout and I'll give more detail. > > > > Ian > > > >http://examples.roughian.com > > > > 2009/11/4 ben fenster <fenster....@gmail.com> > > > > > how can i send a post request to my php page without getting an > > > > exception about same orign execution restriction --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---