开发者

Debugging GWT in Eclipse

开发者 https://www.devze.com 2023-04-02 05:27 出处:网络
Got an issue here.I\'ve written a GWT script to alternate between two images which requires the 2 names in the URL.This works fine when I compile and run on my PC, but when I try and run in debug mode

Got an issue here. I've written a GWT script to alternate between two images which requires the 2 names in the URL. This works fine when I compile and run on my PC, but when I try and run in debug mode in eclipse, I can't parse the name.

I.e.

http://intra.net/flick.html?pics=fo开发者_高级运维o.png,bar.png

Works fine, whereas when I add to that to the URL eclipse gives me

http://127.0.0.1:8888/flickbook.html?gwt.codesvr=127.0.0.1:9997&pics=foo.png,bar.png

It complains that pics is not defined.

Where do I add the arguments to the debug?


Why is eclipse generating the hosting page as flickbook instead of flick?

Can you try with

http://127.0.0.1:8888/flick.html?gwt.codesvr=127.0.0.1:9997&pics=foo.png,bar.png


Works with Google Chrome, wasn't in Firefox.


The URL is imho malformed.

You have a colon (a :) between blockedcontent and 9997.

0

精彩评论

暂无评论...
验证码 换一张
取 消