Posted by tracker09
on March 24, 2010 at 11:26 AM PDT
I have a page that references images directly and some that are referenced by an included css. Using the new resourcing for 2.0, I am able to display the images directly. An example of this can be seen below.
The URL generated in the browser looks like this.
That is working fine. However, when I have an image referenced by the included css file, it is not found.
This is an example of such a reference taken from my css file.
Using firebug, I can see that it is generating this URL
If I directly type the following into the browser, I can see the image
How can I change things so that this image if found properly? It is worth mentioning that the resources are packaged into a separate jar that is bundled into my application. The resources are all found under the META-INF/resources directory. The images are found in a subdirectory called css-images
The css is referenced as followed in the head of the page.