Note the first forward slash in your image url - this points to the root of your server and not /appname/...
Cheers, Dave On Jan 22, 4:41 pm, darkling <[email protected]> wrote: > I'm trying to add icons to my application. Everything worked fine when > I ran in the google browser but now that I've published the system to > my dev server (its Sun Application server 9.1) the icons are all > missing. I'm also noticing that any servlets I try to access via HTTP > (FormPanels) rather than RPC also come up as 404s. My RPC servlets > work fine. > > The icons I'm trying to access are the grid icons from EXT-GWT which > always worked fine up until now. I packaged up my war and dropped it > into the autodeploy in Glassfish just as I always would but now the > links aren't working. Am I doing something wrong for GWT? > > My war structure is > > /images > /appName (with all the GWT JS files) > appName.html > gxt-grey.css > gxt-all.css > > I'm trying to access > > .x-grid3-dirty-cell { > background-image:url(/images/default/grid/dirty.gif); > > } > > which isn't working. > > When I try to input the URL > > http://localhost:8080/appName/images/default/grid/dirty.gif > > The icon appears. > > Can anyone tell me what I'm doing wrong? > Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
