On Friday, January 20, 2012 11:41:32 AM UTC+1, tong123123 wrote:
yes, I put the image in the wrong folder, so the image cannot be
loaded, but the question is
"is there any debug message"
If you're using launching DevMode from the Google Plugin for Eclipse, have a look at the Console View, which will show server logs: your browser asks for images/GoogleCode.png and the server doesn't find it, so it replies with an error (and this will appear in the logs).
Also, look at your browser's developer tools (or the "error console" in Firefox for instance).
if the javascript (generate by GWT?) cannot find the image from the
path?
Also, I want to see the genereated .js file which search the image
path, how could this javascript file be found?
The JS doesn't "search" the image, it generates HTML which your browser will interpret and thus ask the server for the image; so looking at the JS won't help.
Also, DevMode runs your Java code, it doesn't "generate JS" (it instead talk to your browser via the plugin you installed there).