Thanks for your reply. Where is the issue tracker? I would definitely like to see why WEB-INF doesn't work. But I am in the process of trying your suggestion now. Here is my directory structure:
note I am using the <DIR> to let you know the name is a directory. If I don't use <dir> then assume its just a file:
path: /opt/streamserve/tomcateomconsole/webapps
under "Webapps"
------------------------------------
<dir> EOMConsole
EOMConsole.war
path: /opt/streamserve/tomcateomconsole/webapps/EOMConsole
under "EOMConsole"
------------------------------------
<dir> eomconsole (directory where the GWT subdirectory resides)
<dir> META-INF
<dir> WEB-INF
EOMConsole.CSS
EOMConsole.HTML
I have the images under the directory where the WAR resides but that didn't work before. Should I create the img directory in the same directory as the war? ( path: /opt/streamserve/tomcateomconsole/webapps ) or under the directory where the html file is? ( path: /opt/streamserve/tomcateomconsole/webapps/EOMConsole)
thanks for your help, this is definitely tricky.
Joshua
On Tue, Jan 24, 2012 at 10:04 AM, Thomas Broyer <t.broyer@gmail.com> wrote:
Try that: put the image in img/pdficon_large.png at the root of your WAR, then use 'new Image(GWT.getHostPageBaseURL() + "img/pdficon_large.png")' (provided your HTML host page is also at the root of your war, alongside the "img" folder).See my reply on the issue tracker about why WEB-INF doesn't work.--To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/dlkBDEGRX9wJ.
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment