Kandha
Kandha

Reputation: 3689

gwt response at run as web application

In my gwt application,i am using php code for back end process...i can get response from that php file when i deploy on iis server... but i can't get response from that php file when i running from the eclipse...

(i.e) can get response from this url "http://localhost/sample/index.php"

can't get response from this url "http://localhost:8888/sample/index.php" it returns my php code...

Upvotes: 1

Views: 217

Answers (2)

Thomas
Thomas

Reputation: 1956

You could use the gwt -noserver option

"The -noserver option instructs hosted mode to not start the embedded Jetty instance. In its place, you would run the J2EE container of your choice and simply use that in place of the embedded Jetty instance."

I don't know if this would solve your problem

Upvotes: 0

Chris Lercher
Chris Lercher

Reputation: 37778

It's probably possible to run PHP on Jetty, too: See these instructions - not sure, if they still work with Jetty 6, and I really haven't tried it.

But I would recommend to simply run a separate PHP server (maybe deployed from a separate Eclipse project). See this GWT FAQ entry: How do I use my own server in hosted mode instead of GWT's built-in Jetty instance

Upvotes: 1

Related Questions