On Tuesday, January 24, 2012 5:30:00 PM UTC+1, Joshua Carey wrote:
>
> Hi Tom,
>
> 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.
>

Tomcat expands the WARs, so when you copy EOMConsole.war in .../webapps and 
restart tomcat, it'll expand the WAR into .../webapps/EOMConsole and work 
from there (well, Tomcat also keeps things in its own "temp" and "work" 
folders, so make sure you clean them out before restarting Tomcat when 
deploying an update to your app).

So, put the image *within* your WAR (or alternatively, put the image within 
the .../webaps/EOMConsole folder), in the same directory as your HTML host 
page.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ivggsf_XAh0J.
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.

Reply via email to