Try giving absolute path and not relative path.. GWT runs tomcat on port 8888 while LAMP runs on 8080.
if your PHP file is on LAMP /www/test/myfile.php then give absolute url like this.. http://localhost/test/myfile.php This is the best way as PHP hosting is cheap.. client side in GWT. server side in PHP and for communication use JSON.. Hope this helps. Mahavir On Mon, Feb 23, 2009 at 11:22 AM, keyur1277 <[email protected]> wrote: > > i want to make front end, so to say, with gwt and back-end of LAMP. > if i try to connect to local host and run some php script in hosted > mode, browser gives error saying origin related error. > > will be thankful if you can please guide how to debug/test in a gwt > +LAMP setup. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
